cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling a row of table at runtime

Former Member
0 Kudos

I m adding the table elements and the values to be displayed in my code.How can I disable one particular row of that table

Thanks in advance

Fahad Hamsa

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member85655
Active Participant
0 Kudos

Hi Fahad,

Create a boolean value attribute in your context. Bind this to your table's "readOnly" property. You can change the value of this readonly property as u want and this can help change the display.

REgards,

Arun

Former Member
0 Kudos

Hi

Try this

1.Bind a boolean value in the table node.

2.bind the value at runtime that you bind the table value as true or false.

3.in the table's event onFilter or in onLeadSelect check the value and set the action according to the boolean value.

4.And also bind the value to the enabled property of the element.

Kind Regards

Mukesh

Former Member
0 Kudos

I tried that but it is not working.

vijayakhanna_raman
Active Contributor
0 Kudos

Hi,

U can not disable a row u can disable only a table cell editor.

Check my previous post where the thread helps u to disable only a table cell editor.

.

If u have any problem in disabling the table cell editor let me know.

Regards,

Vijayakhanna Raman

Former Member
0 Kudos

Hi

Create a attribute of type boolean and bind to the columns

and check if it is a last row and set the attribute to false

Regards

Saravanan K

Former Member
0 Kudos

Hi

You can add one more boolean context attribute to your table node.Assign this attribute to the enabled property of your table celleditors.At runtime you can change its value to true or false as per requirement.

Regards,

Ajay

vijayakhanna_raman
Active Contributor
0 Kudos

Hi,

Check this clearly discuss on this topic.

Regards,

Vijayakhanna Raman