After deleting - selectedRows issue?

Hello again

I have bulk deleting working well on a table that has multiple row selection enabled.

Problem I am having is that after I delete the rows, and refresh the table contents, the selectedRows table still contains the selection of rows I selected before the delete - how do I clear selectedRows after I do a bulk delete so it no longer contains what I deleted?


Just to be clear

table1.selectedRows contains the rows I selected in table1. When I do a delete on that table in SQL, and refresh the table, table1.selectedRows still contains data even after the refresh...

Try running table1.clearSelection() after the bulk delete succeeds

Perfect - works great - THANKS!