I have the following code and my toolbar disappears on hide, show of the form.
Code:
EditorGrid<ModelData> grid = new EditorGrid<ModelData>(store, new ColumnModel(configs));
grid.setHeight(200);
grid.setAutoExpandColumn("description");
grid.setBorders(false);
grid.addPlugin(checkColumn);
grid.setAutoHeight(true);
// Create grid container
ContentPanel cp = new ContentPanel();
cp.setTopComponent(toolBar);
cp.add(grid);
cp.setWidth("100%");
cp.setHeaderVisible(false);
cp.setAutoHeight(true);
form.setWidth(800);
form.add(cp);
Am I doing something wrong ?
I attach a screenshot of the layout:
sencha.png
Any tip?