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

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.
Live Chat Icon For mobile
Up arrow icon