Kottster Packages API Reference
    Preparing search index...

    Interface TableBulkAction

    interface TableBulkAction {
        color?: DefaultMantineColor;
        disableSelectionReset?: boolean;
        label: ReactNode;
        onClick?: (selectedRecords: TablePageRecord[]) => void;
        onResult?: (result: any) => void;
        procedure?: string;
    }
    Index

    Properties

    color?: DefaultMantineColor

    Color of the action button

    disableSelectionReset?: boolean

    If true, the records selection will not be reset after the action is executed

    label: ReactNode
    onClick?: (selectedRecords: TablePageRecord[]) => void

    Function to call when the action is clicked

    onResult?: (result: any) => void

    Function to call with the result of the procedure

    procedure?: string

    Procedure to call when the action is clicked