5.6.13 • Published 10 months ago

@refinedev/react-table v5.6.13

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Discord Twitter Follow

It eliminates repetitive tasks in CRUD operations and provides industry-standard solutions for critical project components like authentication, access control, routing, networking, state management, and i18n.

Tanstack React Table integration for refine

Tanstack React Table is a headless table library, which means it does not ship with components, markup or styles

refine is headless by design, offering unlimited styling and customization options. Moreover, refine ships with ready-made integrations for Ant Design, Material UI, Mantine, and Chakra UI for convenience.

refine has connectors for 15+ backend services, including REST API, GraphQL, and popular services like Airtable, Strapi, Supabase, Firebase, and NestJS.

Installation & Usage

npm install @refinedev/react-table @tanstack/react-table
import { useTable } from "@refinedev/react-table";

import { ColumnDef, flexRender } from "@tanstack/react-table";

const EditPost = () => {
  const columns =
    React.useMemo <
    ColumnDef <
    IPost >
    [] >
    (() => [
      {
        id: "id",
        header: "ID",
        accessorKey: "id",
      },
      {
        id: "title",
        header: "Title",
        accessorKey: "title",
        meta: {
          filterOperator: "contains",
        },
      },
    ],
    []);

  const tableInstance = useTable({
    columns,
    refineCoreProps: {
      resource: "posts",
    },
  });

  return; /* ... */
};

Documentation

5.6.11

1 year ago

5.6.13

10 months ago

5.6.12

1 year ago

5.6.10

1 year ago

5.6.9

1 year ago

5.6.8

1 year ago

5.6.7

1 year ago

5.6.6

1 year ago

5.6.6-alpha.0

1 year ago

5.6.5

1 year ago

5.6.0

2 years ago

5.5.0

2 years ago

5.6.4

2 years ago

5.6.3

2 years ago

5.6.2

2 years ago

5.6.1

2 years ago

5.4.0

2 years ago

5.3.0

2 years ago

5.2.0

2 years ago

5.1.4

2 years ago

5.1.3

2 years ago

5.1.2

2 years ago

5.1.1

2 years ago

5.1.0

2 years ago

5.0.0

2 years ago