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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column Counts and GridBoundColumns

Thread ID:

Created:

Updated:

Platform:

Replies:

25710 Mar 4,2005 04:34 AM UTC Mar 4,2005 08:37 AM UTC WinForms 1
loading
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.

CONFIRMATION

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.

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

;