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.

DataBoundGrid row size refresh?

Thread ID:

Created:

Updated:

Platform:

Replies:

12133 Mar 22,2004 08:12 PM Mar 23,2004 12:29 AM Windows Forms 1
loading
Tags: GridControl
Andy Johnson
Asked On March 22, 2004 08:12 PM

Hi, I am currently having a problem getting the row size of a databound grid to refresh when I set them as follows. this.addFilterGrid.Model.Cols.Size["company"] = 150; when I do this at the first it doesn''t change but on subsequent refreshes it adjusts the size of the column... is there a work around for this? Thanks Andy J

Administrator [Syncfusion]
Replied On March 23, 2004 12:29 AM

If you want to explicitly set the column sizes initialy, then also try setting this.grid.AllowResizeToFit = false; When this property is true, the grid will try to autosize the columns based on the header content. This will interfere with explicit sizing if you do not turn it off.

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.

;