cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable Button in Table?

Former Member
0 Kudos

I have a table in which I have buttons, based on the input field I want to disable the Batch button of that row.

I tried using JSONModel to disable the button, but that is disabling all the buttons, I just want to disable that specific button.

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor

in your json model, array of data is bound to table, each item of the array is bound to the row, so you have to put an attribute in the data item, which can be used to disable/enable the button

Former Member
0 Kudos

Thanks you, it works now.

Answers (0)