cancel
Showing results for 
Search instead for 
Did you mean: 

Non editable for a particular row in a table

Former Member
0 Kudos

Dear All,

here i hv a table of 5 rows with a checkbox.. If  i select a check box in the 3rd row, i want to amke that row non editable.

Is this possible??

Thanks and regards,

Vijay Vikram

Accepted Solutions (1)

Accepted Solutions (1)

amy_king
Active Contributor
0 Kudos

Hi Vijay,

  1. In the datasource node for your Table, create a new attribute of type wdy_boolean, let's call it row_is_readonly.
  2. For each TableColumn in your table, bind the readOnly property of every cell editor to the row_is_readonly attribute.
  3. Create an onToggle event for your checkbox, and in its event handler method, set the value of attribute row_is_readonly to either true or false for the selected element.

Cheers,

Amy

Former Member
0 Kudos

Hi Amy king,

Thanks for  your help. issue resolved.

Answers (1)

Answers (1)

Former Member
0 Kudos

in alv grid its possible

Former Member
0 Kudos

Cant we do it in a table?

Regards,

Vijay