Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
425
Wingrid performance when modifying records in a hierarchical data structure
posted

Hi,

I have a dataset that can have 10+ datatables with data relations between all of them (table 1 which is a parent to table 2 which is a parent to table 3, etc).  I bind it to a wingrid and am able to navigate it by expanding it level by level etc, just fine.  For the most part, I can modify fields in rows in the grid without problem as well.  However, there is a very peculiar case where if I modify a field in the first child row of a particular parent row, and there are at least 8 levels below it, then CPU utilization goes to 100% for a long time.  The more levels below, the longer it takes to where it will never complete.  The activity appears to be in the datasource, i.e. doing a Break All and looking at the stack trace, it is in the area of System.Data.DataView, System.Windows.Forms.RelatedCurrencyManager.ParentManager_CurrentItemChanged etc, but not in anything Infragistics.

 

Thanks,

Bill

Parents Reply Children