In general, the selectable column is not a bound column and it is not supported to handle and store data of any kind. Also, in the context of its functionality having the ID attribute set is not needed. However, an ID can be assigned after the initialization of the grid - in the DataBound event handler. Here is an example:
An alternative is to handle the Change event of the grid. It is triggered after the selection of the row. Or, you can create a template column that will programmatically select/deselect the rows.
I am not completely sure what are the limitations you are facing with the code. Can you elaborate more on the same so that I can think of a suggestion accordingly?
Progress is here for your business, like always. Read more
about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.