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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

"The groups are not collapsed while modifying the records" How can I change this behavior?

Problem

While modifying the content of the grouped records, the groups are not getting collapsed in the version 13.1.0.X (2015 Volume 1) of the Essential studio.

Solution

From the 13.1.0.X version of Essential Studio, the default behavior is, when a group is added or modified it does not collapse all the other groups.

To collapse the entire group, except the distinct group created by adding or modifying the record, set the TableDirty property value as “true” in SourceListListChanged event. When a table is marked dirty, any subsequent access to child elements and a resulting Syncfusion.Grouping.Element.EnsureInitialized(System.Object) call triggers re-categorization of all records in the table.

C#

VB

The following screenshot illustrates only the new group in the table.

Figure 1: New group in table

Sample Location

C#: Grouping               

VB: Grouping

Article ID: Published Date: Last Revised Date: Platform: Control:
4858 05/13/2015 05/13/2015 WinForms GridGroupingControl
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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