w2go
July 12, 2023, 6:14pm
1
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
Tess
July 27, 2023, 11:25pm
2
Hi @w2go We have a request for this internally as well! I'll post here if we're able to ship a solution
1 Like
JMar
October 12, 2023, 6:42pm
3
+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