I am using a ListGrid with records that are not datasource bound. I would like to add a delete-icon to every row of the grid. I think that I should be able to do this by using the
.
This seems to add the icon to my grid, but I am not capable of figuring out which listener to add to the grid in order to react to the delete icon clicking. Do I have to use the
and then figure out if the icon was clicked?
Help would be much appreciated.
Code:
grid.setCanRemoveRecords(true);
This seems to add the icon to my grid, but I am not capable of figuring out which listener to add to the grid in order to react to the delete icon clicking. Do I have to use the
Code:
grid.addCellClickHandler(CellClickHandler);
Help would be much appreciated.
Comment