Hi,
I have a webdatagrid inside an splitter plane.I need to adjust the webdatagrid height in client side.(not in server side).If i change in windows resize event of webdatagrid.style height I am not getting the vericall scroll in my grid.
Thanks
Hi rover123,
Thank you for posting in the community.
I have tested this scenario using version 11.2.20112.1019, however so far resizing the grid displays the scrollbars as necessary. Attached is my test sample for your consideration (in the sample the grid is resized on moving the splitter bar).
Please feel free to contact me if you have any questions.
HI
Thanks for your reply.my requierment is not by changing splitter control.
When I resize the window I want to dynamiclly adjust the grid height.I want to reduce the grid height dynamiclly.so what I am doing is in window.onresize I am adjusting the grid height by grid.style.height.It adjusts the grid height but I am not getting verticall scroll to see all the records in the
grid.
Please do not hesitate to contact me if you are still experiencing any issues.
Apologies for the delayed response.
I have been investigating the matter further and was able to reproduce the behavior when the grid has no value set for either its Width or Height properties. I suggest that you try setting an explicit initial value for both WebDataGrid's width and height (either in pixels or percentages) in order to see if that helps.
Please feel free to conctact me if you have any questions.
HI,
I am using 10.2 in IE 8.I am reducing the height of the grid by
grid.style.height=500.Grids height adjusted but not getting vertical scroll.
Apologies for the misunderstanding. I have tested this, however the scrollbar is stil displayed when resizing using version 11.2.20112.1019 of .NetAdvantage under IE9, Mozilla and Chrome. Please let me know which version you are using so that I can examine this further.