i want to delete those highlighted rows, how can i know the id of each row to send them to the backend?
Can I delete multiple rows in 1 time using a button to trigger?
It is possible but it take more coding. You can use afterSelectionEnd
hook to get the object with start and end coordinates of rows and them put them in the alter method with a
remove_rowkey. Also do not forget about the
outsideClickDeselects: false` settings to keep the selection while pressing a button outside the table.
do you have an example on how to use those methods?
Creating a whole demo could take me some time but if there are some parts of the code that you’ve been struggling with I can help.
okay aleksandra, thanks a lot.
1 Like