New Table Feature Request - selectedDisplayIndex

Another request is to be able to access the selectedDisplayIndex in addition to selectedDataIndex.

This way we can programmatically select the next row even if the table is filtered or sorted.

There seem to be workarounds to this issue that I haven't yet figured out, but this would be the most straightforward.

1 Like

Hi @w2go We have a request for this internally as well! I'll post here if we're able to ship a solution :slightly_smiling_face:

1 Like

+1 on this. We really need this to work on filtered tables.

Any update? I can't programmatically select the next row if the table is filtered or sorted.
Is alternative solutions?

Sorry, I found the answer, using table1.getDisplayedData() to get display data and find the index
_.findIndex(await table1.getDisplayedData(), item=>item.id == table1.selectedDataIndex)

2 Likes