Frappe Technologies

Frappe

Products

DataTable

Get started with DataTable

Frappe DataTable logo

Frappe DataTable

Fast, feature rich JavaScript datatable

Frappe DataTable started off as the grid behind ERPNext reports. It renders thousands of rows without slowing down, needs no jQuery, and gives you editing, sorting, filtering and keyboard navigation out of the box.

And it is free! DataTable is and will always be completely open source under the MIT license.

Try it! Double click a cell to edit it, sort or filter from a column menu, drag a column edge to resize, or tick rows to select them.

Format any column

Pass a format function to show values your way: currencies, badges, progress bars or links.

Sorting and filtering still work on the raw value, so a formatted price sorts as a number.

Tree view

Give rows an indent and turn on treeView to show them as a tree.

Collapse or expand a group, and sort a column without losing the hierarchy: children stay under their parent.

Thousands of rows, instant filters

This table holds 10,000 rows. Only the rows on screen are rendered, so scrolling stays smooth.

Type in the filter row to search. With filterMode: 'fuzzy', letters typed in order are enough, so jdmr finds Jordan Moreau. Number filters like >100000 or 50000:60000 work too.

Everything you need

Everything below works out of the box, and every part can be changed through options, events and hooks.

  • Inline editing
  • Custom cell editor
  • Custom formatters
  • Keyboard navigation
  • Mouse and keyboard selection
  • Copy cells
  • Sort by column
  • Custom sort value
  • Reorder columns
  • Resize columns
  • Freeze columns
  • Remove or hide columns
  • Custom column actions
  • Row selection
  • Tree structured rows
  • Inline filters
  • Fuzzy filter
  • Large number of rows
  • Dynamic row height
  • Flexible layout
  • Total row
  • Theme support

Install using npm

$ npm install frappe-datatable sortablejs

Check out the code