Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
Anoop 47c650e556 Rebranded há 2 anos
cypress Rebranded há 2 anos
dist Rebranded há 2 anos
src Rebranded há 2 anos
test Rebranded há 2 anos
.eslintignore Rebranded há 2 anos
.eslintrc Rebranded há 2 anos
.gitignore Rebranded há 2 anos
LICENSE Rebranded há 2 anos
README.md Rebranded há 2 anos
cypress.json Rebranded há 2 anos
index.html Rebranded há 2 anos
package.json Rebranded há 2 anos
rollup.config.js Rebranded há 2 anos
yarn.lock Rebranded há 2 anos

README.md

InfluxFramework DataTable

A modern datatable library for the web

Test and Release npm version MIT License npm bundle size (minified + gzip) semantic-release

Introduction

InfluxFramework DataTable is a simple, modern and interactive datatable library for displaying tabular data. Originally built for InfluxERP, 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, unlike 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 influxframework-datatable
# or
npm install influxframework-datatable

Note: sortablejs is 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
  • Open index.html located in the root folder, and start development.
  • Run yarn lint before committing changes
  • This project uses commitizen for conventional commit messages, use yarn commit command instead of git commit

License

MIT