I'm happy to announce that we've been working on a new Data Grid for the React library. We're calling it the 'DevExtreme React Grid' and it'll be available in the coming weeks as a community technology preview (CTP).
We're starting with the Data Grid and we have plans to provide even more controls going forward. Now, let's dig into how we designed our React control(s) and how they can help you.
Native not wrapper
Our new DevExtreme React Grid is a native control for the React library. While time consuming, we decided to create a new Data Grid from scratch. An easier approach would have been to re-use the existing (and excellent) DevExtreme Data Grid widget and simply provided a wrapper. However, we listened to your feedback about how you prefer native controls and we agree. Native controls work better for React's architecture.
Creating 'native' React components instead of jQuery wrappers provides benefits like:
- Can be used in isomorphic apps (server-side + client-side)
- Utilizing React built-in performance optimization with help of immutable state
- Stateless (controlled) mode is available for using in Redux-based apps and state persistence.
- Lightweight due to composable architecture and no extra dependencies (such as jQuery)
- API is familiar to React developers
- Leverage "Virtual DOM" - allows React to perform efficient DOM updates and get great client-side performance.
Themes & other components
It also means that our DevExtreme React Grid works seamlessly with other Bootstrap-based components available in the popular React-Bootstrap library. Currently, we only offer the Data Grid and no 'simple' components such as editors, buttons, etc. So, you can start building your React app using 'simple' React components from open-source libraries like React-Bootstrap. Then make-it-awesome by including our rich business React components like our DevExtreme React Grid.
We're also working on supporting the popular open-source implementation of the 'Material UI' concept for React, Material-UI library. Like the Bootstrap React components, you can also use 'simple' Material UI React components from this library and then add our rich business React components (Data Grid, etc).
Both of these technologies will allow you to apply themes easily and provide simple components that are not in our React component set. Basically, we want to complement the existing popular UI libraries for React. This saves you time when you need simple controls and powerful DevExpress React controls.
Our DevExtreme React Grid will also provide UI templates that allow you to modify, extend, and customize the markup that is rendered by our DevExtreme React Grid.
Features === Plugins
Our DevExtreme React Grid is packed with great features like:
- Editing - Create/Update/Delete
- Data Sorting and Grouping
- Filter Row
- Detail Row
- Multiple Row Selection
- Virtual Scrolling
We're also looking into adding more features like: Column resizing/reordering, column chooser, fixed columns/rows, header filter, bands, and more.
Composable & Extensible
The Data Grid features listed above will not be part of the grid. Typically, features like editing are included in the component and you simply enable or disable them via a property. However, our DevExtreme React Grid will use a 'Composable and Extensible Plugin-based Architecture'. Therefore, the features are plugins and you enable them through the source code:
This approach has the following benefits:
- Our DevExtreme React Grid will be lighter because it will only load the features that you need.
- Plugin architecture allows you to extend our DevExtreme React Grid with custom plugins. If you want a feature that is not supported by our grid then a custom plugin can be written to extend the grid's functionality.
By building our grid natively in React, we've achieved outstanding performance. We researched and incorporated the performance tricks and best practices provided by the React team. In fact, it's based on a functional approach that utilizes immutability and pure functions. Our 'DevExtreme React Grid' is fast:
To see it in action and learn more, be sure to sign up for the webinar.
Sign up for our upcoming webinar where I'll talk about our DevExtreme React Grid:
What do you think about our new DevExtreme React Grid? Drop me a line below.