The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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,
ADAdministrator 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.