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 the width of RowHeader?

Thread ID:





23751 Jan 18,2005 08:17 PM Jan 19,2005 01:42 AM Windows Forms 1
Tags: GridControl
David Bosak
Asked On January 18, 2005 08:17 PM

I cannot resize the width of RowHeader as the following codes: private void FrmAddNewLookup_Load(object sender, System.EventArgs e) { dgrLookup.Model.ColWidths[1] = 84; dgrLookup.Model.ColWidths[2] = 86; dgrLookup.Model.RowHeights[0] = 30; dgrLookup.Model.ColWidths[0] = 20; DisplayAllItemsOfLookup(lookupVO); }

Administrator [Syncfusion]
Replied On January 19, 2005 01:42 AM

Try setting dgrLookup.AllowResizeToFit = false; Otherwise, the grid''s default sizing will step on the changes you are trying to make.


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.