interface GridFocusApi {
    setCellFocus: ((id: GridRowId, field: string) => void);
    setColumnHeaderFilterFocus: ((field: string, event?: MuiBaseEvent) => void);
    setColumnHeaderFocus: ((field: string, event?: MuiBaseEvent) => void);
}

Hierarchy (view full)

Properties

setCellFocus: ((id: GridRowId, field: string) => void)

Sets the focus to the cell at the given id and field.

Type declaration

    • (id, field): void
    • Parameters

      • id: GridRowId

        The row id.

      • field: string

        The column field.

      Returns void

setColumnHeaderFilterFocus: ((field: string, event?: MuiBaseEvent) => void)

Sets the focus to the column header filter at the given field.

Type declaration

    • (field, event?): void
    • Parameters

      • field: string

        The column field.

      • Optionalevent: MuiBaseEvent

        The event that triggers the action.

      Returns void

setColumnHeaderFocus: ((field: string, event?: MuiBaseEvent) => void)

Sets the focus to the column header at the given field.

Type declaration

    • (field, event?): void
    • Parameters

      • field: string

        The column field.

      • Optionalevent: MuiBaseEvent

        The event that triggers the action.

      Returns void