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

How to get Column Index from Cols Collection

Thread ID:

Created:

Updated:

Platform:

Replies:

42693 Apr 4,2006 12:29 PM Apr 5,2006 06:08 AM Windows Forms 2
loading
Tags: GridControl
Ravichandran
Asked On April 4, 2006 12:29 PM

Hi, How to get the column index of particular CellType from Cols collection. I want to hide the column with CellType="Button" during runtime cheer# ravi

Administrator [Syncfusion]
Replied On April 5, 2006 12:54 AM

Hi Ravi, You can loop through the column collection, check for cell type and hide the required column. If you are using GridBoundColumn collection, then loop through gridDataBoundGrid1.GridBoundColumns and hide the required column. Let us know if you need any further information. Best regards, Madhan

Ravichandran
Replied On April 5, 2006 06:08 AM

Hi Madhan, Thanks. I have done it. Cheers Ravi >Hi Ravi, > >You can loop through the column collection, check for cell type and hide the required column. If you are using GridBoundColumn collection, then loop through gridDataBoundGrid1.GridBoundColumns and hide the required column. Let us know if you need any further information. > >Best regards, >Madhan >

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.

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.

;