Skip to Content
author's profile photo Former Member
Former Member

How to disable a row in a table

Hello,

I have a table and there is a columns which type is a lintToAction.

I'd like to know how to disable some links?

Thanks is advance

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2006 at 01:10 AM

    Hi Celso,

    Please look at this thread, if it is helpful,

    /Raj.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2006 at 04:15 AM

    Hi

    Try the following steps.

    1) Set the property "enabled" of the linktoaction to a value attribute of type boolean.

    2) If you want to disable the link for a particular value then in the implementation check for that value and set the above attribute to true or false accordingly.

    Hope this helps.

    Regards,

    Rathna.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2006 at 06:01 AM

    Hi

    Assume your table node is of this format:

    Node
    |-FieldAttr1
    |-FieldAttr2
    |-FieldAttr3

    If you want to disable the link of <b>FieldAttr1</b> in one particular row, add another attribute of type <b>boolean</b> to this node:

    Node
    |-<b>FieldAttr1</b>
    |-FieldAttr2
    |-FieldAttr3
    |-<b>FieldAttr1Enable</b>

    Set this to true or false based on your requirement/condition as you iterate thru them.

    Hope this helps.

    Manoj

    Add comment
    10|10000 characters needed characters exceeded