--- home: true --- ## Installation ```bash # Install using yarn $ yarn add frappe-datatable # or NPM $ npm install frappe-datatable ``` ## Usage ```javascript import DataTable from 'frappe-datatable'; // or add // // in your html let datatable = new DataTable({ columns: ['Name', 'Position', ...], data: [ ['Tiger Nixon', 'System Architect', ...], ['Garrett Winters', 'Accountant', ...], ... ] }); ``` ## 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