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.
Up arrow icon