The documentation on ListGrid.setCanRemoveRecords() seems to indicate that when set to true; the actual remove is done by invoking ListGrid.removeData().
How do you intercept that call? Because apparently this:
never gets called.
I want to intercept the remove so I can kick of an event to some listeners (mainly to notify a form that the ListGrid is part of that the contents of the grid has changed).
How do you intercept that call? Because apparently this:
Code:
public class MyListGrid extends ListGrid
{
@Override
public void removeData(Record record)
{
Log.debug("Record removed.");
super.removeData(record);
}
}
I want to intercept the remove so I can kick of an event to some listeners (mainly to notify a form that the ListGrid is part of that the contents of the grid has changed).
Comment