Vue3 Data Grid - Free & Open source
Hey there guys. I'd like to say a few words about open source package for vue3 I've recently pushed to npm. npmjs.com deniskoronets.github.io Lightweight Vue 3 data grid (needs Vue 3.4+). Install with npm install li-grid. Features: Filtering, sorting and pagination happen on your server, all inside one small component. Works with any API: you write one async dataLoader function that gets the…
A new open source Vue 3 data grid package, li-grid, has been released on npm and is now available for developers to use. This lightweight component, requiring Vue 3.4 or higher, offers a range of features including filtering, sorting and pagination that all happen on the server.
The package can be installed via npm install li-grid. It works seamlessly with any API, requiring only one async dataLoader function that takes in filters, sort parameters, and the page number to return an object containing rows and pagination data.
The grid automatically loads data upon first appearance, and again whenever the user sorts, changes pages, or clicks Load. For user convenience, sort columns can be activated by clicking a column header. Smart pagination ensures large datasets remain readable by displaying gaps (…) between page numbers.
Built-in filters are available for text, dropdown, number ranges, and date ranges, with the ability for users to add their own. Users can also customize the visibility of columns, with the grid remembering their choices in the browser.
Additional customization options include formatting, alignment, and fixed columns that remain visible during scrolling. The package also supports custom templates for cells and headers, translations in English and Ukrainian, and theming options including dark mode and a mobile layout. The li-grid package is released under the Apache 2.0 license.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to