PDA

View Full Version : GridView Refresh el is undefined



koenyn
5 Jul 2010, 11:32 PM
Hi,

I have a EditorGridPanel with nested EditorGridPanels. I have enabled DragAndDrop on the exterior Grid so that rows from the nested grids can be moved from one nested grid to another. This all works great. I have an expander column which I want to hide and show the expander when the nested grid becomes empty or receives an item for the first time. After some investigation I found that calling Grid.getView().refresh(); will refresh the expanders, but when I do I keep getting a script error "el is undefined" or most recently "H is undefined"

basically I create a DropTarget, link it to the grid.getEl().dom and in the notify event I refresh the gridview.

Any help will be appreciated