Row Grouping

<T> represents the object's shape coming from the data source.

DikeGroupRowEvent<T>

interface DikeGroupRowEvent<T extends object> {
  groupId: string;
  groupKey: unknown;
  groupLevel: number;

  dataColumn?: DikeDataColumnDef<T, string | number | Date | boolean>;
  dataRowEntries?: DikeGridDataRowEntry<T>[];
}

DikeGroupRowCollapseEvent<T>

interface DikeGroupRowCollapseEvent<T extends object> extends DikeGroupRowEvent<T> {
  collapse: boolean
}

Last updated