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.

Loader.
Up arrow icon