Category: How do I do X?
Updated

This solution is summarized from an archived support forum post. This information may have changed. If you notice an error, please let us know in Discord.

onRowSelected should fire with “Default Selected Row”, but does not

Issue

I set the "Default Selected Row" to 0 in a table, but when the data source is updated, the first row gets selected without firing the "onRowSelected" event. This creates confusion for users and I have to manually deselect and select the row again for the event to fire. I reported it as a bug on GitHub and included my use case.

Resolution

The user reported a bug where setting the "Default Selected Row" for a table to 0 resulted in the first row getting selected after updating the data source, but the "onRowSelected" event did not fire. This resulted in usability issues as the user expected the event to fire and update other data.

The solution was to file a bug with GitHub and provide a use case and how it would be useful. No code examples were necessary for this bug report.