Table.selectrow only works, when the table in modal is visible

Hello!

If I'm following along correctly, hidden components (e.g. the Table) don't get controlled by event handlers.

A user asked a similar question here and in their case, the solution was to select the underlying data. During office hours, we also suggested hiding the Table using CSS rather than using the actual UI to hide it, since Tables hidden with CSS seem to work with event handlers just fine! Here's the CSS that worked (note, the first selector is for the Edit mode table and the second selector is for the Preview mode table):

#retool-widget-table1, ._retool-table1 { display: none; }

Let me know if you have any questions!

1 Like