cancel
Showing results for 
Search instead for 
Did you mean: 

To disable a particular column record in a table.

Former Member
0 Kudos

Hi all,

I have table to display with fields or columns that I am fetching from BAPI.

Apart from this I have a column called LINK with records as "click to view".This I am adding locally and setting the value.

I need it to get disabled. ie "click to view" should be disabled.

How to do that.

Regards

DK

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Add one more attribute of type boolean to your node mapped to the Table say Enable.

Then you assign this attribute to the property enabled of your Link.

Now you can set the value of this attribute for each element of the node mapped to the table.This way, by setting the value to true or false, you can enable or disble the links in indivisual rows of the table.

Regards,

Ajay

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Dipendra,

create one context attribute with boolean data type.

bind this attribute to the enabled property of the corresponing TableCellEditor(ie., column).

Set true or false as initial value to this attribute in DoInit method and toggle whenever you want.

regards

karthik

former_member182372
Active Contributor
0 Kudos

Hi DK,

Create calculated attribute with type boolean and bind it to enable property of your TableCellEditor (LnkToAction or LinkToURL) and put logic in getter method of calculated attribute.

Best regards, Maksim Rashchynski.