gurusingh
02-08-2008, 12:45 PM
Hiya
I am using EXTJS 1.1.
I have a left panel treeview and on click of a node, it populated a grid on the right side. Now the right panel shows a grid and the content panel is closable. For each node the user clicks on, a new gridpanel gets displayed in the main borderlayout.
Now if I close a panel and then again click on the treenode to view the grid, the border layout displays the pane/tab but without the grid. Please bear in the mind that I am not recreating my grid obect as it is already in the memory so I am tring to reuse that same grid that I defined when it was initially rendered. I even tried recreateing the new grid but stlll it does not work.
I have a main border layout and in the center region i have another border layout whch hosts the GridPanel in north region and I am trying to add the GRIDPANEL again to this region but it does not show.
Also can you tell me does my grid object or its DIV get destroyed/removed from the DOM if i close the pane? Why i ask this is that the grid gives an error whe i recreate the second time i.e. it is not able tofind a element.
Thanks in advance for your time. I need a soluton which will help me to resolve my problem.
Cheers
G
I am using EXTJS 1.1.
I have a left panel treeview and on click of a node, it populated a grid on the right side. Now the right panel shows a grid and the content panel is closable. For each node the user clicks on, a new gridpanel gets displayed in the main borderlayout.
Now if I close a panel and then again click on the treenode to view the grid, the border layout displays the pane/tab but without the grid. Please bear in the mind that I am not recreating my grid obect as it is already in the memory so I am tring to reuse that same grid that I defined when it was initially rendered. I even tried recreateing the new grid but stlll it does not work.
I have a main border layout and in the center region i have another border layout whch hosts the GridPanel in north region and I am trying to add the GRIDPANEL again to this region but it does not show.
Also can you tell me does my grid object or its DIV get destroyed/removed from the DOM if i close the pane? Why i ask this is that the grid gives an error whe i recreate the second time i.e. it is not able tofind a element.
Thanks in advance for your time. I need a soluton which will help me to resolve my problem.
Cheers
G