Editable Grid with Selection

Certified Associate Developer

Hi Folks,

I have a use case, say I have editable grid with 2 columns column 1 and column 2, user should see existing data in read-only format and when ever user clicks on add new row link in the grid, new row should be appended to existing list and editable.

Consider I have below table structure is similar to my use case

Column 1 Column 2 Check box
Key1 Value1
Key1 Value2
Key1 Value3
Key2 Value4
Key3 Value5
Key4 Value6

In the above table Key1 has there different values, user should have a option to decide which value should be returned out/ mapped to that key1, to achieve this I have enabled section option in editable gird. When I do check on one row to map default value for key1, all the rows were selecting by default though only one should have been selected.

Can anyone suggest me how to achieve selection in editable grid?
What would be the reason for selecting all rows instead of only one row in above scenario?

Thanks in advance Slight smile

  Discussion posts and replies are publicly visible