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

Column Counts and GridBoundColumns

I am using a custom GridBoundColumn class that I define a width property on. I''m trying to grab the gridboundcolumn in the QueryColWidth event using e.Index. When the datasource on the grid is refreshed, I rebuild the boundcolumn collection (after clearing it). How do I determine how many columns are in the grid when QueryColWidth fires? I see references for a ColCount property but can''t find it. Thanks

1 Reply

AD Administrator Syncfusion Team March 4, 2005 08:37 AM UTC

Try gridDataBoundGrid.Model.ColCount.

Live Chat Icon For mobile
Up arrow icon