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

How to get Column Index from Cols Collection

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

2 Replies

AD Administrator Syncfusion Team April 5, 2006 04:54 AM UTC

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


RA Ravichandran April 5, 2006 10:08 AM UTC

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 >

Loader.
Live Chat Icon For mobile
Up arrow icon