18 package org.turro.zkoss.grid;
20 import org.turro.elephant.util.Components;
21 import org.zkoss.zk.ui.Component;
22 import org.zkoss.zk.ui.event.Event;
23 import org.zkoss.zul.Detail;
24 import org.zkoss.zul.Row;
37 public void onEvent(Event event)
throws Exception {
38 Component comp =
event.getTarget();
41 comp = comp.getNextSibling();
43 row = (Row) row.getNextSibling();
45 comp = (Component) row.getChildren().get(0);
55 comp = (Component) row.getChildren().get(0);
58 if(row !=
null && comp !=
null && !(comp instanceof Detail) ) {
static Components from(Object component)
void processEdition(EditableCell editableCell)
boolean isAllowInsertions()
NextEventListener(EditableGrid grid)
void onEvent(Event event)
Rows getRows(boolean create)