Hi
Please forgive my poor english, it's not my first language.
I have a problem when I delete multiple rows in a ListGrid which have showGroupSummary or setShowGridSummary at true :
if you put your mouse on the deleted rows (not the last one), the "deleted skin" disappear (but the "undo delete" icon stay).
I attach a screen to this topic to illustrate the problem, and a sample after this text.
I'm using SmartGWT4.0 and GWT 2.5.1
Sombody has an idea ?
Thanks in advance :)!
Please forgive my poor english, it's not my first language.
I have a problem when I delete multiple rows in a ListGrid which have showGroupSummary or setShowGridSummary at true :
if you put your mouse on the deleted rows (not the last one), the "deleted skin" disappear (but the "undo delete" icon stay).
I attach a screen to this topic to illustrate the problem, and a sample after this text.
I'm using SmartGWT4.0 and GWT 2.5.1
Sombody has an idea ?
Thanks in advance :)!
Code:
public class Application implements EntryPoint {
public static ListGridRecord createRecord() {
final ListGridRecord record = new ListGridRecord();
record.setAttribute("area", Random.nextInt());
return record;
}
private ListGridRecord[] records = new ListGridRecord[] { createRecord(), createRecord(), createRecord(), createRecord() };
@Override
public void onModuleLoad() {
ListGrid countryGrid = new ListGrid();
countryGrid.setSize("500", "500");
countryGrid.setCanRemoveRecords(true);
countryGrid.setDeferRemoval(true);
countryGrid.setShowGridSummary(true);
countryGrid.setShowGroupSummary(true);
countryGrid.setCanEdit(true);
ListGridField areaField = new ListGridField("area", "area");
areaField.setShowHover(false);
areaField.setShowGroupSummary(true);
areaField.setSummaryFunction(new SummaryFunction() {
@Override
public Object getSummaryValue(Record[] records, ListGridField field) {
return records.length + " items";
}
});
countryGrid.setFields(areaField);
countryGrid.setData(records);
countryGrid.draw();
}
}
Comment