Skip to Content
avatar image
Former Member

Only some rows selectable

Hi,

I wonder if anybody could help me in my problem?

I made a table and would like only some of the rows to be selectable. Is this possible?

The best solution would be to hide those squares on the left of the rows.

Thanks in advance for your help.

Piotrek

Edited by: Piotr Kondratowicz on Feb 10, 2009 4:29 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 10, 2009 at 04:13 PM

    In newer releases this is possible. There exists a property "rowSelectable" that can be bound to a boolean context attribute under the data source node.

    Armin

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 10, 2009 at 03:54 PM

    Hi Piotr,

    Create a value attribute of type boolean(Ex: ed) and assign it to all editable fields of the table.

    Based on a condition enable(ed=true)/disable(ed=false) the row fields as read only.Which will fulfill your requirement.

    Thanks & Regards,

    Jhansi Miryala

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 10, 2009 at 09:12 PM

    hi Piotr,

    Another approach is to add checkboxes for row selection.

    You can use cell variant to selectively display check boxes for the table rows.

    or you can bind its readonly property to a context attribute.

    set readonly to true if you want to make it selectable.

    Hope this helps!

    Monalisa

    Add comment
    10|10000 characters needed characters exceeded