GDragoN
11 May 2007, 12:46 AM
Hi,
I used code for paging grid from documentation example, and I made small change considering the size of the grid. In this example, width of the control is set to 694px. I have changed this to 100%. Also, I have set the width of the grid inside this control to 100%. When page is loaded, control and grid are displayed with full width of the browser window (picture: page_1.jpg). But If I make browser windows wider, control is resized properly, but the grid inside is still the same width as it was when it was drawn first (picture: page_2.jpg). If I make window smaller, then grid is rendered outside of the control (picture: page_3.jpg).
How to correct this, and have a grid that is properly resized with the size of the control in this example?
Regards,
Milan Petrovic
I used code for paging grid from documentation example, and I made small change considering the size of the grid. In this example, width of the control is set to 694px. I have changed this to 100%. Also, I have set the width of the grid inside this control to 100%. When page is loaded, control and grid are displayed with full width of the browser window (picture: page_1.jpg). But If I make browser windows wider, control is resized properly, but the grid inside is still the same width as it was when it was drawn first (picture: page_2.jpg). If I make window smaller, then grid is rendered outside of the control (picture: page_3.jpg).
How to correct this, and have a grid that is properly resized with the size of the control in this example?
Regards,
Milan Petrovic