interface GridColumnReorderApi {
    setColumnIndex: ((field: string, targetIndexPosition: number) => void);
}

Hierarchy (view full)

Properties

Properties

setColumnIndex: ((field: string, targetIndexPosition: number) => void)

Moves a column from its original position to the position given by targetIndexPosition.

Type declaration

    • (field, targetIndexPosition): void
    • Parameters

      • field: string

        The field name

      • targetIndexPosition: number

        The new position (0-based).

      Returns void