I agree with your comments and will try to update the graphic accordingly.
The user clicks on a row on the grid. Then they click a "Delete" button on the toolbar. I can immediately determine what row is being deleted by:
I can also retrieve any data out of this Row/Record with
var rowDelete = ds.getSelected();
However I need to delete the row from the datastore and update the grid accordingly.
What I believe to be a work-around and not a particularly elegant solution is to listen to the rowselection event and store the index in a private class variable. Then I always know what row is selected and can use it for operations in my toolbar.
What's the best way to approach this?