PDA

View Full Version : [SOLVED] Problem with GridPanels as tabs for TabPanel



stopstopstop
28 Jan 2011, 10:21 PM
Dear friends, help, pls.

There are 2 panels in border layout: GridPanel and TabPanel. Grid selection model listening clicks and do some actions: clearing tabs in TabPanel and adding 3 tabs, each of them is GridPanel. And problem is there: 1st click - 3 tabs added, 2nd click - 2 tabs added, 3rd click - 1 tab added, 4th - all 3 tabs.

Why? :(

There is no problem if tabs are simple Ext.Panel, not Ext.grid.GridPanel.

Example is there: ...

stopstopstop
28 Jan 2011, 11:41 PM
Solved. GridPanel necessarily require ds and colmodel. I just had to use console, sorry.