diff --git a/editable-grid-parent/editable-grid/src/main/java/org/wicketstuff/egrid/component/EditableDataTable.java b/editable-grid-parent/editable-grid/src/main/java/org/wicketstuff/egrid/component/EditableDataTable.java index ef36c6256f..78236c689b 100644 --- a/editable-grid-parent/editable-grid/src/main/java/org/wicketstuff/egrid/component/EditableDataTable.java +++ b/editable-grid-parent/editable-grid/src/main/java/org/wicketstuff/egrid/component/EditableDataTable.java @@ -32,6 +32,7 @@ import org.wicketstuff.egrid.model.OperationType; import org.wicketstuff.egrid.provider.IEditableDataProvider; import org.wicketstuff.egrid.toolbar.AbstractEditableGridToolbar; +import org.wicketstuff.egrid.component.EditableDataTable; /** * @@ -517,8 +518,10 @@ public void onEvent(IEvent event) { @SuppressWarnings("unchecked") Item rowItem = ((Item)event.getPayload()); - this.datagrid.refreash(rowItem); - event.stop(); + if (rowItem.findParent(EditableDataTable.class).equals(this)) { + this.datagrid.refreash(rowItem); + event.stop(); + } } else if (event.getPayload() instanceof GridOperationData) {