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
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. |