Oct 21, 2011, 1:11 PM
Remove gridfilters generated from code behind
Hi,
I create gridpanels and filters from the code behind as implemented here:
http://forums.ext.net/showthread.php...sing-HttpProxy
Once the gridpanel is created, I add it to a tabpanel that is already in my markup
AddTab(grid, this.tpnlData);
My problem now is when I try to recreate the grid, with a filter active on the grid, I get an error because somehow the filters don't get cleared properly.
I already do tpnlData.RemoveAll(true) to make sure that my tpnlData has nothing in it.
Can you please tell me how to clear the filters before I recreate the gridpanels?
Thank you.
I create gridpanels and filters from the code behind as implemented here:
http://forums.ext.net/showthread.php...sing-HttpProxy
Once the gridpanel is created, I add it to a tabpanel that is already in my markup
AddTab(grid, this.tpnlData);
My problem now is when I try to recreate the grid, with a filter active on the grid, I get an error because somehow the filters don't get cleared properly.
I already do tpnlData.RemoveAll(true) to make sure that my tpnlData has nothing in it.
Can you please tell me how to clear the filters before I recreate the gridpanels?
Thank you.