com.smartgwt.client.widgets.grid.events

## Interface GroupByHandler

- All Superinterfaces:
    EventHandler

      public interface GroupByHandler
      extends EventHandler

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onGroupBy(GroupByEvent event)` Callback fired when the user attempts to group or ungroup the listGrid, or when `ListGrid.groupBy()` is called programmatically.

- - ### Method Detail

    - #### onGroupBy

          void onGroupBy(GroupByEvent event)

      Callback fired when the user attempts to group or ungroup the listGrid, or when `ListGrid.groupBy()` is called programmatically. This event may be cancelled.

      This notification is fired before the `data` is updated to reflect the grouping. See also `ListGrid.groupByComplete()`.

      Parameters:
        `event` - the event