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?

Hello,

You can use select()
Please check the sample: https://snippet.webix.com/uo63h0mo

Hey, thanks for your comment.
As I mentioned, using select in a loop triggers the onSelectChange for each selection.
Is there a way to avoid that?