openDetails(source, gridName, "2", targetWindow);
Events.postEvent("onRefresh", source, null);
}
}); Menuitem editItem=(Menuitem)source.getFellow("editItem");
editItem.addEventListener("onClick", new EventListener(){
public void onEvent(Event event) throws Exception {
openDetails(source, gridName, "3", targetWindow);
Events.postEvent("onRefresh", source, null);
}