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

Hidding the columns

Hai, I am using GridDataBoundGrid and I want to hid certain columns in the grid by dispalying only few,while selecting one row Iwould want to get all its content including the hidden columns . Is it possible and how, Thanks and regards, Hsee

1 Reply

AD Administrator Syncfusion Team July 20, 2004 11:45 AM UTC

you can hide columns in a GridDataBoundGrid by setting Me.Grid.Model.Cols.Hidden(someColIndex) = True You should still be able to access the value using an indexer on the grid even though the column is hidden. Dim val as Object = Me.Grid(someRow, someColIndex).CellValue

Live Chat Icon For mobile
Up arrow icon