Hi I have a single grid which uses a remote data model.
I am having problems with the height of the grid - when it loads the grid-canvas element.style height is set to 622px; and then when the rows have loaded it changes to 192500px. Thus when you scroll down through the wows you can scroll off the end of the grid.
I have tried setting the height for the datagrid and also the enclsing div and calling resizeCanvas(), but this makes no difference. I cannot see how to set the height.
If I manually change the height to say 400px; in Chrome - Inspect Element then it is OK.
Please help with what to set here
I have put the code which creates the grid into a jquery plugin so:
Hi I have a single grid which uses a remote data model.
I am having problems with the height of the grid - when it loads the grid-canvas element.style height is set to 622px; and then when the rows have loaded it changes to 192500px. Thus when you scroll down through the wows you can scroll off the end of the grid.
I have tried setting the height for the datagrid and also the enclsing div and calling resizeCanvas(), but this makes no difference. I cannot see how to set the height.
If I manually change the height to say 400px; in Chrome - Inspect Element then it is OK.
Please help with what to set here
I have put the code which creates the grid into a jquery plugin so:
(function( $ ){
The grid is created in a container where #datagrid is referenced in grid = new Slick.Grid("#datagrid", loader.data, columns, options);