AD
Administrator
Syncfusion Team
October 12, 2006 10:43 PM UTC
Hi Sim,
You can hide the rows that you dont want them to get displayed in grid, through the code below.
// To hide a single row
this.gridDataBoundGrid1.Model.HideRows[10] = true; // hides row 10
// To unhide a row
this.gridDataBoundGrid1.Model.HideRows[10] = true; // unhides row 10
// To hide more than one row
this.gridDataBoundGrid1.Model.HideRows.SetRange(fromIndex ,lastRowIndex, true);
// Following code displays first 10 rows in grid
this.gridDataBoundGrid1.Model.HideRows.SetRange(10, this.gridDataBoundGrid1.Model.RowCount, true);
Let me know if this is not what you needed.
Regards,
Rajagopal