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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grouping by Related fields

Thread ID:

Created:

Updated:

Platform:

Replies:

55884 Feb 6,2007 04:51 PM UTC Feb 15,2007 03:56 PM UTC WinForms 3
loading
Tags: Grouping
Sergey Tikhomirov
Asked On February 6, 2007 04:51 PM UTC

Hi,

We are developing a software product that needs advanced grouping and summary capabilities. We have looked into Syncfusion Essential Grouping and it seems to be very much what we need with one important exception. It seems not to respond to the changes in child data nodes. Let me explain what we do step by step:

1. Create two BindingLists of some objects.
2. Add relation (RelationKind.ForeignKeyReference) between these two lists.
3. Add Grouping Column that works using this relation with
m_oEngine.TableDescriptor.GroupedColumns.Add("OurCustomRelation.AuxilaryName");
4. Expand all records by calling
m_oEngine.Table.ExpandAllRecords();
5. Iterate through m_oEngine.Table.NestedDisplayElements collection, everything is fine so far.
6. Change the value of some property for one of the elements in child collection.
7. Send ListChange event from child list.
8. We expect that data will be automatically regrouped.
9. When we iterate one more time through m_oEngine.Table.NestedDisplayElements we see old result, for us this is not correct.
10. If we send ListChange event on parent list all works fine, but it can be difficult sometimes to send such event.

We use Syncfusion 4.4.0.51 and Visual Studio 2005

Best regards,
Sergey Tikhomirov
Senior Developer

Administrator [Syncfusion]
Replied On February 6, 2007 09:31 PM UTC

Hi Sergey,

I am not sure of what be might be causing this strange behavior without a working sample. I have tested this issue in the attached sample with Essentail studio V.4.x. I was not able to reproduce the issue. Maybe I am not following the steps that you are doing. Please post us a sample showing this problem or modify the attached samples to reproduce the problem, which will help me to find the issue and resolve this.

Sample : CollectionWithRelatedMasterGrouping.zip

Thanks for your patience.

Best regards,
Haneef

Sergey Tikhomirov
Replied On February 11, 2007 05:18 PM UTC

Hi,

We've modified your example to show you workflow that we think works incorrect.
Press "Make Test" button for execute this workflow.
In comments in this function we've wrote expected result.

Best regards,
Sergey Tikhomirov
Senior Developer


CollectionWithRelatedMasterGrouping.zip

Administrator [Syncfusion]
Replied On February 15, 2007 03:56 PM UTC

Hi Sergey,

My apologizes for the delay caused on this issue.

Before calculating summary count in a AuxilaryList, try setting the Table.TableDirty to true. Here is a code snippet.

ChangeAuxilaryData(1, "16");

m_oEngine.Table.SummariesDirty = true;
m_oEngine.Table.TableDirty = true;

iCountAfterAuxilaryListChange = CalculateNestedSummaryCount();

Please refer to the attached sample for modification.
CollectionWithRelatedMasterGrouping.zip

Thanks for you interest in Syncfusion Product.

Best regards,
Haneef

CONFIRMATION

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

;