We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

9270 Dec 11,2003 04:16 PM Dec 12,2003 09:02 AM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On December 11, 2003 04:16 PM

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

Administrator [Syncfusion]
Replied On December 11, 2003 05:13 PM

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

Administrator [Syncfusion]
Replied On December 12, 2003 09:02 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;