Configuration
Header

Header config

Properties

export interface HeaderEvents {
  onDropOutside: Partial<{
    hide: boolean;
    callback: (column: Column) => void;
  }>
}
export interface HeaderConfig { 
  height?: number;
  border?: boolean;
  events?: Partial<HeaderEvents>;
}

height

TypeRequiredDefault
numberfalse48

Configures the height of the row.

border

TypeRequiredDefault
booleanfalsefalse

If true, a border will be added to the bottom of the header.

events

TypeRequired
HeaderEventsfalse

Configures the events of the header.

onDropOutside

Handles the event when a column is dropped outside the header.

hide
TypeRequiredDefault
booleanfalsefalse

If true, the column will be hidden when dropped outside the header.

callback
TypeRequired
(column: Column) => voidfalse

Callback function that will be called when a column is dropped outside the header.