Dynamically setting grid div width to 100%

Hi guys,

I am dynamically changing the width of the grid using jquery. When I set the width to 100% I lose the horizontal scroll bars and can only get them back if i resize the browser window manually. Is there a way I can force some kind of grid refresh to get the horizontal scroll bar to appear?

Thanks in advance

After you resize grid container try to call following method:

grid.setSizes()

Hi Olga,

Thanks for the instant reply and setSizes() solved my problem.

Many thanks

Dan