Checkbox Column

Hi, How can I set the width of a checkbox column inside a GDBG just wide enough to hold the checkbox without any extra white space around the checkbox? Thanks.

1 Reply

AD Administrator Syncfusion Team June 1, 2004 03:52 PM UTC

You set the width of a particular column using code like this.grid.Model.ColWidths[2] = 30; If you are doing it while the grid is not visible, then you should also set: this.grid.AllowResizeToFit = false; to turn off the grid default sizing so it does not interfere with your explicit sizing.

Loader.
Up arrow icon