When data is reloaded using the “Reload Data for Data Table” block, the same row is visually selected in the data table, but it’s not really selected after the new data is loaded. You have to click on it again to manually select the row for the data to be repopulated correctly.
How is it possible to automatically re-select a row in a data table using code (or codeless) after the data is reloaded from the above block?
Is there some kind of a select method available for this control?
Mike
Hello @Michael_Kadron
I added a table and a separate button to reload the table data. And the selected row does not fly off for me. Can you show a simple example of how this happens for you?
No, the row is still “selected” but I need to reselect it again in code so my data can be populated again (updated). I have a onClick event on the Data Table that sends the selected row data elsewhere.
Is it possible to trigger a row select again?
Is there a select method (or similar) on this control?
From “Viktor Liablin via Backendless Support” <support-forum@backendlessmail.com>
To “Michael Kadron” <mike@hyperpixels.net>
Date 7/14/2025 1:44:25 PM
Subject [Backendless Support] [UI Builder] Select Row in Data Table
Hello Michael Kadron,
Unfortunately, there is no such method for the reselect, but you can store the data while selecting, for example, in PageData, and then use the saved data when needed.
Regards,
Alexander
That’s part of what I’m doing.
From “Alexander Pavelko via Backendless Support” <support-forum@backendlessmail.com>
To “Michael Kadron” <mike@hyperpixels.net>
Date 7/15/2025 3:04:42 AM
Subject [Backendless Support] [UI Builder] Select Row in Data Table