Interface RestTableProps<T>

interface RestTableProps<T extends DataObject> {
    columns: Column<T>[];
    deletable?: boolean;
    editable?: boolean;
    onCheck?: (keys: IDType[]) => any;
    store: ListModel<T, Partial<NewData<T>>>;
    translator: TranslationModel<string, "submit" | "cancel"> & TranslationModel<
        string,
        "create"
        | "edit"
        | "delete"
        | "total_x_rows"
        | "sure_to_delete_x",
    >;
    uploader?: FileModel;
}

Type Parameters

  • T extends DataObject

Hierarchy

Properties

columns: Column<T>[]
deletable?: boolean
editable?: boolean
onCheck?: (keys: IDType[]) => any
store: ListModel<T, Partial<NewData<T>>>
translator: TranslationModel<string, "submit" | "cancel"> & TranslationModel<
    string,
    "create"
    | "edit"
    | "delete"
    | "total_x_rows"
    | "sure_to_delete_x",
>
uploader?: FileModel
MMNEPVFCICPMFPCPTTAAATR