Package com.smartgwt.client.widgets.grid

# Interface GroupSortNormalizer

public interface GroupSortNormalizer

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `normalize(ListGridRecord record, String fieldName, ListGrid context)`
  When `sortByGroupFirst` is active, the sorting `normalizer` applied for implicit sorting by the field(s) used for grouping.

- ## Method Details

  - ### normalize

    Object normalize(ListGridRecord record, String fieldName, ListGrid context)
    When `sortByGroupFirst` is active, the sorting `normalizer` applied for implicit sorting by the field(s) used for grouping.

    No default implementation.

    Parameters:
      `record` - record to normalize
      `fieldName` - name of the field on which sorting occurred. See `FieldName`
      `context` - the grid is passed to allow property and method access
    Returns:
      normalized value for sorting
    See Also:
      - `ListGrid.setSortByGroupFirst(java.lang.Boolean)`
      - `ListGrid.setGroupSortDirection(com.smartgwt.client.types.SortDirection)`