use of com.extjs.gxt.ui.client.data.BaseListLoader in project activityinfo by bedatadriven.
the class DrillDownEditor method createDialog.
private void createDialog() {
proxy = new DrillDownProxy(dispatcher);
store = new ListStore<>(new BaseListLoader(proxy));
grid = new Grid<>(store, buildColumnModel());
grid.setLoadMask(true);
dialog = new Dialog();
dialog.setHeadingText(I18N.CONSTANTS.sites());
dialog.setButtons(Dialog.CLOSE);
dialog.setLayout(new FitLayout());
dialog.setSize(WIDTH, HEIGHT);
dialog.add(grid);
dialog.addListener(Events.Move, new Listener<BaseEvent>() {
@Override
public void handleEvent(BaseEvent baseEvent) {
left = -1;
top = -1;
}
});
}
Aggregations