Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
600
Resizing grid in Initialize event
posted

I am almost there, but not quite .... I am setting the width and height of my grid server-side, and under certain conditions I want to reduce the height of the grid through the Initialize client-side event.  So I do this by using jQuery to select the grid and then setting it's height (using the jQuery function).  This sets the grid element's clientHeight, but the results are not visible until I sort a column.

Alternatively if I call the _adjustGridLayout method on the grid this works too.  I don't understand why the grid doesn't notice the change in height until it is prodded.  Any ideas?

Parents Reply Children
No Data