Display hidden rows

Hi, I am using the following code in my GRBG to hide some rows. CurrencyManager cm = this.gdbgSalary.BindingContext[gdbgSalary.DataSource, gdbgSalary.DataMember] as CurrencyManager; for(int i = 0; i < cm.Count; i++) { salaryEmployee = (SalaryEmployee)cm.List[i]; if(salaryEmployee.DataTypeCode == DataTypeCode.Forecast) { this.gdbgSalary.Model.HideRows[i + 1] = true; } } How can i unhide the rows before I assign a new data source? Thanks,

1 Reply

AD Administrator Syncfusion Team January 12, 2006 04:10 AM UTC

Hi, Setting the Model.HideRows to false unhides the hidden row. In the mentioned case you have to loop through all the rows again in the same way and set the Model.HideRows to false before assigning a new data source. Regards, Calvin.

Loader.
Up arrow icon