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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Display hidden rows

Thread ID:





39543 Jan 11,2006 12:36 AM UTC Jan 12,2006 04:10 AM UTC Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On January 11, 2006 12:36 AM UTC

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,

Administrator [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon