I’m having an issue, the grid is in an iframe that has height set in the parent. I need to update this height when the pagesize is changed to ensure the user gets scroll bars.
I have tried to do the resize code from the pagesizechanged event:
$(‘#myGridDiv’).on(‘pagesizechanged’, function (event) {
But I end up getting random incorrect values for the height of that div in that event, no matter how I try to check it. Sometimes it’s bigger than the actual div, sometimes smaller.
Does this event fire before or after the grid has rendered the new rows? Is there a safe way to find the actual height after a resize so that I can set the page size correctly?
Thanks,
Chris