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

AD Administrator Syncfusion Team 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.
Up arrow icon