New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@devexpress/dx-react-grid-material-ui

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devexpress/dx-react-grid-material-ui

Material UI templates for DevExtreme React Grid component


Version published
Weekly downloads
20K
increased by2.71%
Maintainers
1
Weekly downloads
 
Created

DevExtreme React Grid Material UI

A template suite used to customize React Grid with the Material UI rendering.

Installation

Install the package and its dependencies:

npm i @devexpress/dx-react-grid --save
npm i @devexpress/dx-react-grid-material-ui --save

Add the required modules to your project:

import {
  Grid
} from '@devexpress/dx-react-grid';
import {
  TableView
} from '@devexpress/dx-react-grid-material-ui';

export const App = () => (
  <Grid
    rows={[{ id: 0, ... }, ...]}
    columns={[{ name: 'id', ... }, ...]}>
    <TableView />
  </Grid>
);

Make sure that Material UI dependenices are installed and configured. If you have not yet configured Material UI for your project, check the following link.

Getting started

This package provides templates implementing Material UI rendering for the React Grid UI plugins and the UI Plugins with injected templates as well. You can use these templates instead of the ones in the original React Grid repository.

See demos for more information.

Reference

The package exposes components and plugins with injected templates.

The list of components:

The list of plugins:

Each plugin has properties with the 'Template' postfix. Components passed to such properties are templates.

You can override templates by passing your component or rendering function, or return undefined from your custom template if you want to render a UI item with a built-in template.

License

DevExtreme licensing.

FAQs

Package last updated on 09 Jun 2017

Did you know?

Socket

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