From 19c2faa2a4e056181c788f072284d8934c33eed8 Mon Sep 17 00:00:00 2001 From: Kevin Van Cott Date: Mon, 30 Oct 2023 09:44:19 -0500 Subject: [PATCH] v2 blog --- .../components/navigation/routes.ts | 4 + .../sandbox/src/JS.js | 1 + .../sandbox/src/TS.tsx | 1 + .../announcing-material-react-table-v2.mdx | 234 ++++++++++++++++++ 4 files changed, 240 insertions(+) create mode 100644 apps/material-react-table-docs/pages/blog/announcing-material-react-table-v2.mdx diff --git a/apps/material-react-table-docs/components/navigation/routes.ts b/apps/material-react-table-docs/components/navigation/routes.ts index a881fd044..5fcba5bdf 100644 --- a/apps/material-react-table-docs/components/navigation/routes.ts +++ b/apps/material-react-table-docs/components/navigation/routes.ts @@ -443,6 +443,10 @@ export const routes: Array = [ href: '/blog/the-best-react-data-grid-table-libraries-with-material-design-in-2023', label: 'The Best Data Grid Libraries...', }, + { + href: '/blog/announcing-material-react-table-v2', + label: 'Announcing MRT V2', + }, ], }, { diff --git a/apps/material-react-table-docs/examples/customize-display-columns/sandbox/src/JS.js b/apps/material-react-table-docs/examples/customize-display-columns/sandbox/src/JS.js index c7a949fc8..f686dbb94 100644 --- a/apps/material-react-table-docs/examples/customize-display-columns/sandbox/src/JS.js +++ b/apps/material-react-table-docs/examples/customize-display-columns/sandbox/src/JS.js @@ -49,6 +49,7 @@ const Example = () => { }, }, 'mrt-row-numbers': { + enableColumnDragging: true, enableColumnOrdering: true, //turn on some features that are usually off enableResizing: true, muiTableHeadCellProps: { diff --git a/apps/material-react-table-docs/examples/customize-display-columns/sandbox/src/TS.tsx b/apps/material-react-table-docs/examples/customize-display-columns/sandbox/src/TS.tsx index caef49f0e..f1620f872 100644 --- a/apps/material-react-table-docs/examples/customize-display-columns/sandbox/src/TS.tsx +++ b/apps/material-react-table-docs/examples/customize-display-columns/sandbox/src/TS.tsx @@ -50,6 +50,7 @@ const Example = () => { }, }, 'mrt-row-numbers': { + enableColumnDragging: true, enableColumnOrdering: true, //turn on some features that are usually off enableResizing: true, muiTableHeadCellProps: { diff --git a/apps/material-react-table-docs/pages/blog/announcing-material-react-table-v2.mdx b/apps/material-react-table-docs/pages/blog/announcing-material-react-table-v2.mdx new file mode 100644 index 000000000..0d9f9148c --- /dev/null +++ b/apps/material-react-table-docs/pages/blog/announcing-material-react-table-v2.mdx @@ -0,0 +1,234 @@ +import Head from 'next/head'; +import Image from 'next/image'; +import { BlogAuthor } from '../../components/mdx/BlogAuthor'; +import { EthicalAd } from '../../components/mdx/EthicalAd'; + + + {'Announcing Material React Table V2 - MRT Blog'} + +