GridGrouping not always displaying child records in a hierarchical data source

Hey there,

I have a project where I have a GridGroupingControl on a form. I load this grid with a dataset consisting of two tables which are to be displayed in a hierarchical fashion, departments with details below them.

The code that loads the dataset and then in turn sets it to the grid's data source is executed in a thread via the use of a MethodInvoker. I then check the control if it needs to be invoked and do a grid.Invoke() in order to populate it with the data.

The problem I am experiencing is that even though the data is always coming back solid, typically one out of every ten times I run this code the grid does not display the details below the departments. No error is thrown. I’ve checked the data when this happens and I see valid data there. I can try to view the same records several times in a row and it appears to fail randomly.

I am at a complete loss as to what is happening here. I’m using 4.202.0.60 of the grid control. Any suggestions as to what might be happening here?



Thanks in advance,

Brian


1 Reply

SR SubhaSheela R Syncfusion Team September 18, 2008 06:40 AM UTC

Hi Brian,

Thanks for your interest in Syncfusion products.

I am afraid that I was not able to see the issue here as you mentioned in the version specified by you. I have created a simple sample and its working fine for me. If you are able to reproduce the issue in this sample, please provide us the reproduce steps or upload us the minimal sample that shows the issue, so that we will analyze more and provide you the exact solution.

Here is the sample:

http://www.syncfusion.com/support/user/uploads/GGCNestedCaptionText_a9acb2b9.zip

Let me know if you have any queries.

Regards,
Subhasheela R


Loader.
Up arrow icon