How to resize columns to fit into grid after resize in syncfusion

Hi, I am looking for a property in griddataboundgrid, so if I bind any datasource to the grid and resize the window. I want to see the columns get resized to fit into the whole grid. In microsoft grid, I have to wrote a method to catch the resize event and do that by my self. However, I have used another comercial grid which has a property to set it up. Just wondering, is this function available in syncfusion? Thanks Chris

2 Replies

AD Administrator Syncfusion Team December 11, 2003 10:13 PM UTC

Currently, you have to do this with handling the QueryColWidths event (in the GridDataBoundGrid, this event is in the grid.Model class). Here is a link discussing how to fill the client area by making the right column wide enough to do so. You could also set all the columns widths to 1/n times the clientwidth to equally size every column. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=2699


AD Administrator Syncfusion Team December 12, 2003 02:02 PM UTC

thanks >Currently, you have to do this with handling the QueryColWidths event (in the GridDataBoundGrid, this event is in the grid.Model class). > >Here is a link discussing how to fill the client area by making the right column wide enough to do so. You could also set all the columns widths to 1/n times the clientwidth to equally size every column. > >http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=2699

Loader.
Up arrow icon