Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Disable first two rows in a table control

How to disable first two rows of a table control on a view?

Thanks

Sat

Former Member
replied

Create 2 context attributes of type boolean in the node that you are binding to the table. One for Row selectable and another for read only. Bind one attribute to row selectable property of the table and set the first element attribute value to "false" and rest of the elements would be true. This will make the first row not selectable. If you need to disable the column table cell editor fields of the first row, bind the readonly property of each column cell editor to 2nd boolean attribute and set it to true for the first element. Set it to false for rest of the elements. This will set the editors in first row to read only and rest of the rows are enabled to edit.

Hope that helps.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question