json_table icon indicating copy to clipboard operation
json_table copied to clipboard

Feature: Select first row on load

Open mnn-softjoy opened this issue 3 years ago • 3 comments

A nice feature would be be able to select an active row by index on load. The table should then show the row as marked and the onRowSelect should fire with the selected row.

mnn-softjoy avatar Feb 26 '22 14:02 mnn-softjoy

You mean the row should be auto highlight on first load? and onRowSelect should also call?

apgapg avatar Mar 01 '22 06:03 apgapg

Yes exactly!

I am loading a form on the side of the table with details from the selected row using the onRowSelect function. Only showing some data/columns in the table. And it would be perfect if the first row is automatically selected on page load.

Mattias

mnn-softjoy avatar Mar 01 '22 09:03 mnn-softjoy

Got that. We can do this. Let me just work on this tomorrow and provide update

apgapg avatar Mar 02 '22 14:03 apgapg