Hello,
I'm currently working on a project with RadGrid.
The width of the grid needs to be exactly as the width the page.
The Grid uses Ajax and wrapped with Div(#gridContainer).
I have defined the width of the grid like this with JS:
The grid width is the same size as the window browser's width.
However, because the grid has many columns and an horizontal scroll-bar, the containing aspx Page also has a scroll-bar.
It seems that the page's width is as the grid's overall width (as it would be displayed without any horizontal scrolling).
How do I set the grid so that the dimensions of page will remain 100% and not exceed beyond?
Thanks,
Daniel.
I'm currently working on a project with RadGrid.
The width of the grid needs to be exactly as the width the page.
The Grid uses Ajax and wrapped with Div(#gridContainer).
I have defined the width of the grid like this with JS:
$(
"#gridContainer .RadAjaxPanel"
).width(window.innerWidth);
The grid width is the same size as the window browser's width.
However, because the grid has many columns and an horizontal scroll-bar, the containing aspx Page also has a scroll-bar.
It seems that the page's width is as the grid's overall width (as it would be displayed without any horizontal scrolling).
How do I set the grid so that the dimensions of page will remain 100% and not exceed beyond?
Thanks,
Daniel.