Grid row selection
In my grid I have implemented the checkbox. Based on the checkbox selected I want to get the row number. My functionality is to remove the row based on the checkbox selection.
I have add button and remove button. so based on the checkboxes selected, I need to remove those rows. I could not find out any example for the removing the rows based on the checkbox selection.
You can try this. But it will remove only one object which means one row.
Object obj= grid.getSelectionModel().getSelectedItem();
List list = grid.getSelectionModel().getSelectedItems();
thanks Binu.V.M it working fine.