Multiselection in datatable

Hey, I have a datatable with multiselect enabled.

After load, I want to reselect rows based on save ids (not necessarily ids in range.. might want to select only ids 1, 3, 4 and not 2 for example).

I tried looping over the ids and call select for each one, but this triggers onSelectChange after each id selection which doesn't work well for me.
selectRange doesn't fit my needs as well as explained above.

How can I overcome this without triggering the onSelectChange on every selection?
or alternatively - how can I select specific ids when my datatable loads?

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!