cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable a row in a table

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

MG3
Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Rathna!

Thanks for your info.

Best Regards,

Celso.

Former Member
0 Kudos

Hi Celso,

Please look at this thread, if it is helpful,

/Raj.