on 05-19-2006 12:26 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Celso,
Please look at this thread, if it is helpful,
/Raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.