Grid clean up properly?
Hello,
I am implementing a Grid view using version1.0 and run into the road block regarding cleaning up grid. My application uses a single DIV ("viewDiv") to display AW grid and other views, such as bar chart. So, between grid and bar chart, I use
document.getElementById("ViewDiv").innerHTML = "";
to clean up the display area DIV.
But, my bar chart also has its resize event handler, when the DIV is showing bar chart and the brower is resizing, I notice that, in Firefox, the Grid's resize event handler is called as well.
I tried to null out the grid before showing bar chart, I still get the same problem.
So, what is the surest way to clean up the grid? how do I explicitly remove resize event handler if grid's clean up is not possible?
Thanks,
Nick
I am implementing a Grid view using version1.0 and run into the road block regarding cleaning up grid. My application uses a single DIV ("viewDiv") to display AW grid and other views, such as bar chart. So, between grid and bar chart, I use
document.getElementById("ViewDiv").innerHTML = "";
to clean up the display area DIV.
But, my bar chart also has its resize event handler, when the DIV is showing bar chart and the brower is resizing, I notice that, in Firefox, the Grid's resize event handler is called as well.
I tried to null out the grid before showing bar chart, I still get the same problem.
So, what is the surest way to clean up the grid? how do I explicitly remove resize event handler if grid's clean up is not possible?
Thanks,
Nick
March 13,