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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column Counts and GridBoundColumns

Thread ID:





25710 Mar 4,2005 04:34 AM UTC Mar 4,2005 08:37 AM UTC WinForms 1
Tags: GridControl
Daniel Byers
Asked On March 4, 2005 04:34 AM UTC

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

Administrator [Syncfusion]
Replied On March 4, 2005 08:37 AM UTC

Try gridDataBoundGrid.Model.ColCount.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon