Socket
Socket
Sign inDemoInstall

@mui/x-data-grid-pro

Package Overview
Dependencies
108
Maintainers
0
Versions
179
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mui/x-data-grid-pro

The Pro plan edition of the Data Grid components (MUI X).


Version published
Weekly downloads
397K
increased by3.5%
Maintainers
0
Created
Weekly downloads
 

Changelog

Source

7.8.0

Jun 28, 2024

We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:

  • 🛰 Introduce server-side data source for improved server integration in the Data Grid.

    Supports server-side pagination, sorting and filtering on plain and tree data, and automatic caching.

    To enable, provide a getRows function to the unstable_dataSource prop on the Data Grid component.

    const dataSource = {
      getRows: async (params: GridServerGetRowsParams) => {
        const data = await fetch(
          `https://api.example.com/data?${new URLSearchParams({
            page: params.page,
            pageSize: params.pageSize,
            sortModel: JSON.stringify(params.sortModel),
            filterModel: JSON.stringify(params.filterModel),
          }).toString()}`,
        );
        return {
          rows: data.rows,
          totalRows: data.totalRows,
        };
      },
    }
    <DataGridPro
      unstable_dataSource={dataSource}
      {...otherProps}
    />
    

    See server-side data documentation for more details.

  • 📈 Support Date data on the BarChart component

  • ↕️ Support custom column sort icons on the Data Grid

  • 🖱️ Support modifying the expansion trigger on the Tree View components

<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->

Data Grid

Readme

Source

MUI X Data Grid Pro

This package is the Pro plan edition of the Data Grid component. It's part of MUI X, an open-core extension of MUI Core, with advanced components.

Installation

Install the package in your project directory with:

npm install @mui/x-data-grid-pro

This component has the following peer dependencies that you will need to install as well.

"peerDependencies": {
  "@mui/material": "^5.15.14",
  "react": "^17.0.0 || ^18.0.0",
  "react-dom": "^17.0.0 || ^18.0.0"
},

Documentation

Visit https://mui.com/x/react-data-grid/ to view the full documentation.

Keywords

FAQs

Last updated on 28 Jun 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc