The Missing Javascript Datatable for the Web
See the codeFrappe 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, unlike most data grids out there.
I was trying to remove all legacy UI components from the frappe codebase. We were using SlickGrid for rendering tables. It was unmaintained and UI was dated. Other datatable solutions either didn't have the features we needed or were closed source. So we built our own.
yarn add frappe-datatable
# or
npm install frappe-datatable
Note:
sortablejsis required to be installed as well.
const datatable = new DataTable('#datatable', {
columns: [ 'First Name', 'Last Name', 'Position' ],
data: [
[ 'Don', 'Joe', 'Designer' ],
[ 'Mary', 'Jane', 'Software Developer' ]
]
});
yarn start - Start dev serverindex.html located in the root folder, and start development.yarn lint before committing changesyarn commit command instead of git commitOverall
Maintained
Code review
Latest release
Releases this year
739 followers · starred Oct 2018
29 followers · starred Apr 2020
2,160 followers · starred Apr 2025
168 followers · starred Nov 2024
The Missing Javascript Datatable for the Web
See the codeFrappe 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, unlike most data grids out there.
I was trying to remove all legacy UI components from the frappe codebase. We were using SlickGrid for rendering tables. It was unmaintained and UI was dated. Other datatable solutions either didn't have the features we needed or were closed source. So we built our own.
yarn add frappe-datatable
# or
npm install frappe-datatable
Note:
sortablejsis required to be installed as well.
const datatable = new DataTable('#datatable', {
columns: [ 'First Name', 'Last Name', 'Position' ],
data: [
[ 'Don', 'Joe', 'Designer' ],
[ 'Mary', 'Jane', 'Software Developer' ]
]
});
yarn start - Start dev serverindex.html located in the root folder, and start development.yarn lint before committing changesyarn commit command instead of git commitOverall
Maintained
Code review
Latest release
Releases this year
739 followers · starred Oct 2018
29 followers · starred Apr 2020
2,160 followers · starred Apr 2025
168 followers · starred Nov 2024