menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IGroupSortOrderComparer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IGroupSortOrderComparer

    Defines an interface to be used for the GroupSortOrderComparer of a SortColumnDescriptor. The GetDependantFields method is called from the engine to determine the fields a GroupSortOrder is dependent on. When the engine gets notified of changes from the underlying data source it will loop through the modified fields of a record and see if any of the modified field names matches the names returned by this methods and in such case recalculate the group sort order. GetDependantFields is only called once when the table is initialized and the results array is then internally cached.

    Inherited Members
    System.Collections.IComparer.Compare(System.Object, System.Object)
    Namespace: Syncfusion.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public interface IGroupSortOrderComparer : IComparer

    Methods

    GetDependantFields(TableDescriptor)

    The GetDependantFields method is called from the engine to determine the fields a GroupSortOrder is dependent on. When the engine gets notified of changes from the underlying data source it will loop through the modified fields of a record and see if any of the modified field names matches the names returned by this methods and in such case recalculate the group sort order. GetDependantFields is only called once when the table is initialized and the results array is then internally cached.

    Declaration
    string[] GetDependantFields(TableDescriptor td)
    Parameters
    Type Name Description
    TableDescriptor td

    The TableDescriptor.

    Returns
    Type Description
    System.String[]

    Returns dependent fields.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved