selectedRows for perspective Table?

Can we retrieve the selected row indexes of a perspective table with selection mode "multiple interval" ?

It looks like props.selection.selectedRow just supplies the row number of the last-clicked item.

If there is a unique column in the table you could script a search for the values returned in props.selection.data and return the selected row numbers.

What is the real problem you are trying to solve?

Yes, vision table has a convenient .getSelectedRows().
Nothing for perspective Table...

I need to remove multiple line in a table with data binded to a dataset.
To update the dataset, selected row indexes would have been the more simple method...

It might not. There wouldn't be a correspondence between the table row numbers and the database row numbers.

You can retrieve the record IDs and not display them in the table. That way you can retrieve a list of record IDs from props.selection.data for your SQL delete.

1 Like