Hi,
We continue our investigations with Essential Grouping.
In attachment example of workflow that for our opinion works incorrect.
Press "Make Test" button for execute this workflow.
In comments in this function we've wrote expected result.
Below you can find description of this workflow 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
CollectionWithRelatedMasterGrouping0.zip