Hallo,
I'm use setSelectionAppearance(SelectionAppearance.CHECKBOX) by ListGrid
How can i per default select a new record?
I'm use setSelectionAppearance(SelectionAppearance.CHECKBOX) by ListGrid
How can i per default select a new record?
Code:
. . . ListGrid listGrid = new ListGrid(); listGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX) . . . IButton add = new IButton("add","Add record"); add.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { listGrid.startEditingNew(); } });
Comment