Represents a common cell slot.

interface ICommonCellSlot<RowData extends IRowData = IAnything> {
    column: CommonCellColumn<RowData>;
    disabled: boolean;
    fullWidth: number;
    idx: number;
    mode: DisplayMode;
    onAction: undefined | (action: string) => void;
    onMenuToggle: undefined | (opened: boolean) => void;
    row: RowData;
}

Type Parameters

Properties

The column associated with the cell slot.

disabled: boolean

Indicates if the cell slot is disabled.

fullWidth: number

The full width of the cell slot.

idx: number

The index of the cell slot.

The display mode of the cell slot.

onAction: undefined | (action: string) => void

The function to call when an action is triggered in the menu.

onMenuToggle: undefined | (opened: boolean) => void

The function to call when the menu toggle is triggered.

row: RowData

The row data associated with the cell slot.