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

How to resize the width of RowHeader?

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); }

1 Reply

Administrator January 19, 2005 06:42 AM UTC

Try setting dgrLookup.AllowResizeToFit = false; Otherwise, the grid''s default sizing will step on the changes you are trying to make.
Loader.
Live Chat Icon For mobile
Up arrow icon