Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@devexpress/dx-react-grid-material-ui
Advanced tools
Material UI templates for DevExtreme React Grid component
A template suite used to customize the React Grid with Material UI rendering.
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, TableView, TableHeaderRow
} from '@devexpress/dx-react-grid-material-ui';
const App = () => (
<Grid
rows={[
{ id: 0, product: 'DevExtreme', owner: 'DevExpress' },
{ id: 1, product: 'DevExtreme Reactive', owner: 'DevExpress' },
]}
columns={[
{ name: 'id', title: 'ID' },
{ name: 'product', title: 'Product' },
{ name: 'owner', title: 'Owner' },
]}>
<TableView />
<TableHeaderRow />
</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.
This package provides components and plugins implementing Material UI rendering for the React Grid, which you can use instead of the ones provided by the original React Grid package.
See demos for more information.
The package exposes components and plugins with injected templates.
Components:
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.
1.0.0-alpha.6 (2017-07-24)
allowGrouping
property has been renamed to allowGroupingByClick
.totalPages
getter is no longer exported from the PagingState and LocalPaging plugins.<a name="1.0.0-alpha.5"></a>
FAQs
Material-UI templates for DevExtreme React Grid component
The npm package @devexpress/dx-react-grid-material-ui receives a total of 19,104 weekly downloads. As such, @devexpress/dx-react-grid-material-ui popularity was classified as popular.
We found that @devexpress/dx-react-grid-material-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.