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
close icon

Hiding columns/rows in virtual grid with 4.1

Hi all, We have some virtual grids with some hidden columns and rows from version 3.2.1. We used the QueryHideCol and QueryHideRow events from the grid to control which columns and rows to be hidden. We found that those events are now private. Is there a recommended way to hide columns/rows in a virtual grid? Thanks.

1 Reply

AD Administrator Syncfusion Team March 14, 2006 12:14 PM UTC

Hi Raymond, The QueryHideCol and the QueryHideRow events were removed because it turned out to be unusable in conjunction with required scrollbar management. But a row or a column can be hidden or unhidden by just setting the this.gridControl1.Rows.Hidden[rowIndex] =true; this.gridControl1.Cols.Hidden[colIndex] = true; and this.gridControl1.Rows.Hidden[rowIndex] =false; this.gridControl1.Cols.Hidden[colIndex] = false; respectively. Regards, Calvin.

Loader.
Live Chat Icon For mobile
Up arrow icon