Documentation - v19.5.0-dev
    Preparing search index...
    TableConfigs: {
        DefaultConfig: {
            enableDensityToggle: false;
            enableFullScreenToggle: false;
            mrtTheme: (
                theme: Theme,
            ) => { baseBackgroundColor: string; draggingBorderColor: string };
            muiBottomToolbarProps: { sx: { boxShadow: "none" } };
            muiPaginationProps: { showRowsPerPage: true };
            muiTableBodyCellProps: {
                sx: { color: (theme: Theme) => string; paddingY: string };
            };
            muiTableBodyRowProps: {
                sx: {
                    "&:hover td:after": {
                        backgroundColor: (theme: Theme) => string;
                        content: "\"\"";
                        height: string;
                        left: number;
                        position: "absolute";
                        top: number;
                        width: string;
                        zIndex: number;
                    };
                };
            };
            muiTableHeadCellProps: {
                sx: {
                    "&[data-pinned=\"true\"]:before": { backgroundColor: "inherit" };
                };
            };
            muiTablePaperProps: {
                elevation: number;
                sx: {
                    "& .MuiIconButton-root": { color: "info.dark" };
                    backgroundColor: (theme: Theme) => string;
                    borderRadius: string;
                };
            };
            paginationDisplayMode: "pages";
        };
        WithAllFeaturesDisable: {
            enableColumnActions: false;
            enableColumnResizing: false;
            enableFilters: false;
            enableGlobalFilter: false;
            enableGrouping: false;
            enableHiding: false;
            enableSorting: false;
            enableTopToolbar: false;
        };
        WithGlobalSearchEnable: {
            enableGlobalFilter: true;
            initialState: { showGlobalFilter: true };
            positionGlobalFilter: "left";
        };
        WithHeaderDisable: { enableFilters: false; enableTableHead: false };
        WithPaginationDisable: { enablePagination: false };
        WithRowActionPinned: {
            enableColumnPinning: true;
            initialState: { columnPinning: { right: string[] } };
            positionActionsColumn: "last";
        };
    } = ...

    Type Declaration

    • DefaultConfig: {
          enableDensityToggle: false;
          enableFullScreenToggle: false;
          mrtTheme: (
              theme: Theme,
          ) => { baseBackgroundColor: string; draggingBorderColor: string };
          muiBottomToolbarProps: { sx: { boxShadow: "none" } };
          muiPaginationProps: { showRowsPerPage: true };
          muiTableBodyCellProps: {
              sx: { color: (theme: Theme) => string; paddingY: string };
          };
          muiTableBodyRowProps: {
              sx: {
                  "&:hover td:after": {
                      backgroundColor: (theme: Theme) => string;
                      content: "\"\"";
                      height: string;
                      left: number;
                      position: "absolute";
                      top: number;
                      width: string;
                      zIndex: number;
                  };
              };
          };
          muiTableHeadCellProps: {
              sx: {
                  "&[data-pinned=\"true\"]:before": { backgroundColor: "inherit" };
              };
          };
          muiTablePaperProps: {
              elevation: number;
              sx: {
                  "& .MuiIconButton-root": { color: "info.dark" };
                  backgroundColor: (theme: Theme) => string;
                  borderRadius: string;
              };
          };
          paginationDisplayMode: "pages";
      }
    • WithAllFeaturesDisable: {
          enableColumnActions: false;
          enableColumnResizing: false;
          enableFilters: false;
          enableGlobalFilter: false;
          enableGrouping: false;
          enableHiding: false;
          enableSorting: false;
          enableTopToolbar: false;
      }

      Disables basic features like sorting, filtering, grouping, global search, column pinning, column resizing, and hiding

    • WithGlobalSearchEnable: {
          enableGlobalFilter: true;
          initialState: { showGlobalFilter: true };
          positionGlobalFilter: "left";
      }

      Enable global search and position it on the left No need to click on the search icon to start searching

    • WithHeaderDisable: { enableFilters: false; enableTableHead: false }

      Remove table header and disable filters

    • WithPaginationDisable: { enablePagination: false }
    • WithRowActionPinned: {
          enableColumnPinning: true;
          initialState: { columnPinning: { right: string[] } };
          positionActionsColumn: "last";
      }