hello ,everyone!
I encounter a problem .
the Menu of the ListGrid has no affect in firefox when RowContextClickEvent is Happening.
problem:
in firefox ,it has default ContextClickEvent,
in smartGWT, it has another ContextClickEvent
the menu both show at the same time when RowContextClickEvent is Happening,
and the ContextClickEvent of the firefox coverages the smartGWT.
but I want only show the menu of the smartGWT,not is firefox.
what can I do?
help!
my configuration :
gwt 1.5.3
smartgwt
centos Firefox/3.0.2
sample code:
use the AutofitNewRecordsSample , I add the RowContextClickHandler .
countryGrid.addRowContextClickHandler(new RowContextClickHandler(){
public void onRowContextClick(RowContextClickEvent event) {
Menu menu =new Menu();
MenuItem item =new MenuItem();
item.setTitle("refresh");
menu.addItem(item);
menu.showContextMenu();
}
});
thanks!
I encounter a problem .
the Menu of the ListGrid has no affect in firefox when RowContextClickEvent is Happening.
problem:
in firefox ,it has default ContextClickEvent,
in smartGWT, it has another ContextClickEvent
the menu both show at the same time when RowContextClickEvent is Happening,
and the ContextClickEvent of the firefox coverages the smartGWT.
but I want only show the menu of the smartGWT,not is firefox.
what can I do?
help!
my configuration :
gwt 1.5.3
smartgwt
centos Firefox/3.0.2
sample code:
use the AutofitNewRecordsSample , I add the RowContextClickHandler .
countryGrid.addRowContextClickHandler(new RowContextClickHandler(){
public void onRowContextClick(RowContextClickEvent event) {
Menu menu =new Menu();
MenuItem item =new MenuItem();
item.setTitle("refresh");
menu.addItem(item);
menu.showContextMenu();
}
});
thanks!
Comment