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
close icon

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.

Live Chat Icon For mobile
Up arrow icon