cancel
Showing results for 
Search instead for 
Did you mean: 

Row Enable/Disable

Adi_Bathineni
Participant
0 Kudos

Hi Guru's,

I've developed a simple project.I got strcuk up with some problems.

I'm getting the data from the Backeend systems using RFC.

My Table contains only one row of data.

For getting this data from the backend systems by using RFC, i've binded the local context to custoom controller context. These nodes are model nodes.

Now my problem is to set the Disable option for one row which i was getting from backend systems and put the enable functionality for the 2nd row which is manually added.

I tried many ways and tried to add one variable with the type as Boolean to that particular node.

But i'm not able to add variable to that node because those nodes i'm getting from the binding of custom controller.

Please suggest me how to solve this problem?

Regards,

Adi.

Accepted Solutions (0)

Answers (4)

Answers (4)

Adi_Bathineni
Participant
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

Create a calculated attribute at the root level and in the getter check the size of the node which you populate from RFC and based on this return the value.

Map this attribute to the table

Hope this will resolve.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi

Try to add that variable at Component controller context not from View context.

Regards

Akshaya

Former Member
0 Kudos

Hi

Check this

Regards

Abhijith YS