Reputation:
I am developing GWT app where I should use check-boxes. But I should have an option to select all checkboxes(like this example):
Which GWT widget should I use?
EDIT: This is my method which is used to retrieve data that should be in check boxes
@Override
protected RpcProxy<PagingLoadResult<GwtAccessRole>> getDataProxy() {
return new RpcProxy<PagingLoadResult<GwtAccessRole>>() {
@Override
protected void load(Object loadConfig, AsyncCallback<PagingLoadResult<GwtAccessRole>> callback) {
GWT_ACCESS_ROLE_SERVICE.findByUserId((PagingLoadConfig) loadConfig,
currentSession.getSelectedAccount().getId(),
userId,
callback);
}
};
}
Upvotes: 0
Views: 516
Reputation: 1317
Try:
com.google.gwt.user.client.ui.Tree
with custom TreeItem
.or
com.google.gwt.user.cellview.client.CellTree
with custom Cell
.Upvotes: 0