2018-06-03 17:08:46 +05:30
2018-06-03 17:08:36 +05:30
2018-05-23 18:16:53 +05:30
2018-05-18 12:23:35 +05:30
2018-05-23 18:14:50 +05:30
2018-02-06 22:51:42 +05:30
2018-04-15 22:20:18 +05:30
2018-05-22 13:48:18 +05:30
2018-05-30 08:05:40 +05:30
2018-05-30 08:05:40 +05:30
2018-05-22 13:48:18 +05:30
2018-04-21 19:09:56 +05:30
2018-02-20 18:28:32 +05:30
2018-06-03 17:08:46 +05:30
2018-05-31 00:16:16 +05:30
2018-04-21 19:09:56 +05:30
2018-06-03 17:08:46 +05:30

Frappe DataTable

A modern datatable library for the web

travis build npm version MIT License

Introduction

Frappe DataTable is a simple, modern and interactive datatable library for displaying tabular data. Originally built for ERPNext, it can be used to render large amount of rows without sacrificing performance and has the basic data grid features like inline editing and keyboard navigation. It does not require jQuery, like most data grids out there.

Demo

datatable-demo-2

Features

Cell Features

  • Custom Formatters
  • Inline Editing
  • Mouse Selection
  • Copy Cells
  • Keyboard Navigation
  • Custom Cell Editor

Column Features

  • Reorder Columns
  • Sort by Column
  • Remove / Hide Column
  • Custom Actions
  • Resize Column
  • Flexible Layout

Row Features

  • Row Selection
  • Tree Structured Rows
  • Inline Filters
  • Large Number of Rows
  • Dynamic Row Height

Install

yarn add frappe-datatable
# or
npm install frappe-datatable

Note: sortablejs and clusterize.js are required to be installed as well.

Usage

const datatable = new DataTable('#datatable', {
  columns: [ 'First Name', 'Last Name', 'Position' ],
  data: [
    [ 'Don', 'Joe', 'Designer' ],
    [ 'Mary', 'Jane', 'Software Developer' ]
  ]
});

Contribution

  • yarn start - Start dev server

Now you can open the index.html located in the root folder, and start development. Make sure to fix all eslint errors before making a Pull Request.

License

MIT

Description
The Missing Javascript Datatable for the Web
Readme MIT 3.9 MiB
Languages
JavaScript 86.4%
HTML 9.6%
CSS 4%