Hey there guys. I'd like to say a few words about open source package for vue3 I've recently pushed to npm.


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 filters, sort and page, and returns { rows, pagination }.
  • Loads data by itself when it first appears, and again when the user sorts, changes page or clicks Load.
  • Sortable columns: users click a column header to sort.
  • Smart pagination that shows gaps (…) between page numbers, so large datasets stay readable.
  • Built-in filters: text, dropdown, number range and date range. Users can add them as they go.
  • Show/hide columns: users can hide columns, and the grid remembers their choice in the browser.
  • Column options: formatting, alignment and columns that stay fixed while scrolling.
  • Custom templates (slots) for any cell or header.
  • Translations: English and Ukrainian are included, or you can pass your own.
  • Theming and styling, including dark mode and a layout for mobile.
  • Apache 2.0 license. Published on npm as li-grid.