I want a grid to remain a constant height and width on a page. However, when I clear the data and reload the grid with fresh data, the grid increases in size.
(1) The below very simply HTML page demonstrated my problem in both IE 7.x and Chrome. Load the page. Click on the button which just calls myGrid.ClearAll() and the grid changes size. It seems to me there is something wrong with the clearAll() function.
(2) Same issue, but rather than call myGrid.clearAll(), I call myGrid.clearAll(true) and then the init() method resets the grid size.
Or maybe I’m doing wrong?
Thanks,
Karl
Test Grid - why does the grid change size?
#Schedule { margin:5em; padding:1em; background-color:#00FF00; }
p { margin:5em; };