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
close icon

Hidden rows problem

Hi.
I'm using a GridControl to show some data. And I'm using GridControl's HideRows property to show or hide some rows depending on the details the user wants.

The problem is that sometimes the rows that are not hidden are not drawn in the grid.

I can't find the logic why or when that happens.

Is there a way to find out which rows in the grid will be drawn, because the HideRows property apparently isn't the only constraint.

If you need any additional information, please ask :)

Thank you!


3 Replies

NA Nisha Arockiya A Syncfusion Team January 28, 2009 12:59 PM UTC

Hi Zvonko,

Thanks for your interest in Syncfusion Products.

I am afraid that I could not able to reproduce the issue of Hidden rows problem as you mentioned above. Could you please provide an issue reproduced sample or the reproducing steps so that we can sort out the problem and direct you to the exact solution on time??

Sample:
http://websamples.syncfusion.com//samples/Grid.Windows/Development/GC_HideRows_F79260.zip

Please let me know if this helps and provide more information on this issue.

Regards,
Nisha.



AD Administrator Syncfusion Team January 29, 2009 03:08 PM UTC

I think I found the solution and maybe the problem :)

If there was a change in some other sections in the program, the grid would clear and enter new data in it. The problem is (I think) that I used 'grid.RowCount = 0;' statement to clear the table. But the properties HideRows[] would in some cases persist in the grid. So new data would be hidden at those positions. I think.

The solution that I used is setting HideRows[] property on all rows to 'false' before clearing the table.

Best regards



NA Nisha Arockiya A Syncfusion Team January 30, 2009 10:30 AM UTC

Hi Zvonko,

Glad to know that you have solved the problem by yourself. Thanks for sharing information with us. Please let us know any other concerns.

Regards,
Nisha.


Loader.
Live Chat Icon For mobile
Up arrow icon