< DHTMLX Suite 8.4 Release: API Updates for Grid/TreeGrid, Chart, Toolbar, ComboBox, and New Samples

JavaScript DataGrid (DataTable) Widget

DHTMLX JavaScript DataGrid is a a data-intensive UI widget for processing a large amount of data at lightning speed and conveniently editing, filtering, and sorting data in tables.

JavaScript DataGrid Features

  • Columns' drag-n-drop pro
  • Data editing
  • Sorting and filtering
  • Editing with a colorpicker editor
  • Ability to hide/show rows
  • Custom templates for cells' content
  • Number formatting
  • Multiline cell content
  • Templates for tooltips
  • Cells and rows multiselection
  • Custom HTML content
  • TypeScript support
  • Full control with rich JavaScript API
  • Data loading in the JSON format
  • Multiline header and footer
  • Vertical and horizontal spans
  • Adjusting columns' width
  • Drag-n-drop of multiple rows
  • Auto height mode pro
  • Touch support
  • Lazy loading pro
  • Ability to freeze any columns and rows
  • Keyboard navigation
  • Ability to be initialized without data
  • Marking cells with min and max values
  • Adding custom marks to cells
  • Auto-calculated values in footer/header
  • Auto width for columns
  • Highlighting a selected cell and row
  • Exporting data to Excel, PDF/PNG
  • Ability to disable tooltips
  • Automatic adding of an empty row to the end of Grid
  • Cross-browser compatibility
  • Content alignment
  • Simultaneously reordering columns and rows
  • Various cell editor types
  • Accessibility support

DHTMLX Suite Demos with JavaScript Grid

Reinforce Your JS DataTable with DHTMLX Suite

Discover the abilities of the Grid component available within the DHTMLX Suite library of UI widgets.

Edit data using the right panel
You can choose the most convenient way of editing data for your web app. It is possible to combine DHTMLX Grid with the Form widget and arrange them with the help of DHTMLX Layout. When a user wants to create or edit a row, the form appears to the right of the grid.
Edit data using the modal window
Alternatively, end-users can edit the Grid content using a modal window. The DHTMLX Window component enables you to attach a form with all the possible editing options. There you can add anything from simple input fields to comboboxes, colorpickers, and even file uploaders.
Filter data using the sidebar
Filtering is another demanded feature in JavaScript data tables. Besides per-column filters, you can implement filters with the help of the Form widget anywhere outside of the grid. One of the most popular options is placing filters in the DHTMLX Sidebar to the left of the grid.
Filter data using the toolbar
If you would like to opt for compact filters, you can make use of DHTMLX Toolbar. It enables you to organize all the needed fields for filtering at the top of the page. Filters can contain any Form controls like comboboxes with autocomplete, calendars, sliders, checkboxes, radiobuttons, etc.
Paging
DHTMLX Suite offers a pagination widget for smooth navigation in JavaScript grids with vast amounts of data. It splits the grid content across multiple pages and equips the table with navigation buttons and input fields for quickly searching for the desired page.

How to Create a Grid in JavaScript

Here are 5 easy-to-follow steps for building a basic JavaScript DataGrid:
1
Create an HTML file
2
Include the DataGrid js and css source files in the header
3
Add a container with an id - e.g. “grid_container”
4
Initialize the widget with the dhx.Grid object constructor
5
Optionally, specify the configuration settings you need and load data into the grid

Why Choose a JavaScript DataGrid by DHTMLX

Build a powerful JavaScript Grid control

DHTMLX Grid is a full-featured DataGrid library that provides cutting-edge functionality and fast performance with large data sets. The component allows filtering and sorting data according to various criteria. Filters can be added inside headers or put outside of the grid. Sorting feature is available by default. End users may export JavaScript data tables to Excel in one click. On top of all, PRO edition offers a special module for data parsing and serialization in the XML format.

Tune up your JS datagrid with a rich API

An extensive JavaScript API makes DHTMLX Grid web control highly customizable and easy-to-use. Developers can modify each and every element - add spans in headers, columns, or rows, adjust the size of a datatable, make use of the columns’ auto width. You can freeze any columns and rows. You can add any custom HTML to cells. On top of all, you can configure a footer or header to show minimal, maximal, average, or sum values from the columns of your choice.

Achieve the desired look and feel of your HTML5 grid

One of the major advantages of DHTMLX Grid is flexible customization via CSS. In order to style the JavaScript datagrid widget, you just need to add new CSS classes with all the desired settings. Customization options enable you to apply different styles to the header, footer, particular rows, and cells. You can highlight cells with minimal and maximal values or choose which cells to mark with custom styling.

Integrate DHTMLX Grid into Angular, React, Vue.js apps

From now on, there is a smooth and straightforward way to integrate our JS datagrid library into your projects. We have prepared code examples for the three widespread frameworks Angular, React, and Vue.js, which can help you use DHTMLX Grid in your apps. You can also download our 30-day evaluation version and benefit from the assistance of our support team.

Other Suite Widgets

DHTMLX Grid Licensing

Individual Commercial Enterprise Ultimate
License Terms
Developers
1
5
20
Projects
1
1
5
Use in SaaS (unlimited end-users)
Perpetual distribution rights
Support Plan
Standard Support
Premium Support
Premium Support
Ultimate Support
Time Period
1 year
1 year
1 year
1 year
Updates
Major, minor, and maintenance updates
Major, minor, and maintenance updates
Major, minor, and maintenance updates
Major, minor, and maintenance updates
Priority queue for bug fixing
Support requests
10
30
50
Response Time
72h
48h
48h
24h
Personal Account Manager
Functionality
Professional
Professional
Professional
Professional
PRO features
Online export to Excel
Free
Free
Free
Free
Free local Excel export module
Online export to PDF/PNG without watermark
Free for 1 year
Free for 1 year
Free for 1 year
Free for 3 years
Free local PDF/PNG module
Up to 40% off
If you choose the whole Suite library instead
of buying DHTMLX UI components separately:

Suite Individual - $799

Suite Commercial - $1699

Suite Enterprise - $3499

Suite Ultimate - $6999

demo-screenshot

File manager built with the help of Suite components: Layout, Grid, DataView, Toolbar, etc.

If you have an open-source (GNU GPL v2) project and you are not interested in PRO features, you may use DHTMLX Grid Standard Edition for free.
It comes without official technical support, but you can use the community forum instead.

Need help with DHTMLX Grid integration into your app? Contact us