DevExtreme React Grid Material UI
A template suite used to customize the React Grid with Material UI rendering.
Installation
Install the main dx-react-grid package with its Material UI dependencies and templates:
npm i --save @devexpress/dx-react-core @devexpress/dx-react-grid @devexpress/dx-react-grid-material-ui
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 the Material UI dependenices are installed and configured. Check the following link if you have not configured the Material UI yet.
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 original React Grid repository ones.
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 to render a UI item with a built-in template.
License
DevExtreme licensing.