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

Resizing columns to max size

Hello, I''m sure this is a question that has been asked a hundred times, but I didn''t find it in my search. How can I resize my GridDataBoundGrid columns to the size of the maximum cell in the column? Thanks for any help. Thanks, Nick

2 Replies

AD Administrator Syncfusion Team June 2, 2005 05:59 PM UTC

You call grid.Model.ColWidths.ResizeToFit(GridRangeInfo.Col(colIndex)).


NH Nick Howard June 2, 2005 06:39 PM UTC

Thanks Clay, I really appreciate it.

Loader.
Live Chat Icon For mobile
Up arrow icon