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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataBoundGrid row size refresh?

Thread ID:





12133 Mar 23,2004 01:12 AM UTC Mar 23,2004 05:29 AM UTC WinForms 1
Tags: GridControl
Andy Johnson
Asked On March 23, 2004 01:12 AM UTC

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 05:29 AM UTC

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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon