Hi all,
My goal is to select all rows in the pages upon loading. Currently,
the 1st page's rows only are selected when I code the
grid.getSelectionModel().selectAll();
Right now, I am following Sanjiv post on creating a customized paging
toolbar but I encounter errors on having the code below:
//====================================>>
ExtElement gridFoot = grid.getView().getFooterPanel(true);
Toolbar toolbar = new Toolbar(gridFoot);
toolbar.addButton(new ToolbarButton(new ButtonConfig() {
{
setCls("x-btn-icon x-grid-page-next");
setButtonListener(new ButtonListenerAdapter() {
public void onClick(Button button, EventObject
e) {
// ...
}
});
}
}));
toolbar.addSeparator();
//<<======================================
I don't know if this is due to version release. I am using gwt1.7.1.
Eclipse IDE prompts me, "The method getFooterPanel(boolean) is
undefined for the type GridView"; The constructor Toolbar(ExtElement)
is undefined; and ButtonConfig is also unknown. Please help.
--
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en.