aurelia-slickgrid
v10.4.0
Published
Slickgrid components made available in Aurelia
Maintainers
Readme
Aurelia-Slickgrid
Brief introduction
Aurelia-SlickGrid is a custom component created specifically for Aurelia framework, it is a wrapper on top of Slickgrid-Universal library which contains the core functionalities. Slickgrid-Universal is written with TypeScript in browser native code, it is framework agnostic and is a monorepo that includes all Editors, Filters, Extensions and Services related to SlickGrid usage with also a few optional packages (like GraphQL, OData, Export to Excel, ...).
Documentation
📕 Documentation website powered by GitBook.
Installation
Available in Stackblitz below, this can also be used to provide an issue repro.
| Stackblitz | Description |
| ---------- | ----------- |
| | with I18N Translate |
|
| Single Locale (without i18n) |
Refer to the Docs - Quick Start and/or clone the Aurelia-Slickgrid Demos repository. Please review the Documentation website before opening any new issue, also consider asking installation and/or general questions on Stack Overflow unless you think there's a bug with the library.
npm install aurelia-slickgridInstall any optional Slickgrid-Universal dependencies, for example Excel Export
npm install @slickgrid-universal/excel-exportDemo page
Aurelia-Slickgrid works with all Bootstrap versions, you can see a demo of each one below. There are also extra styling themes for not just Bootstrap but also Material & Salesforce which are also available. You can also use different SVG icons, you may want to look at the Docs - SVG Icons
- Bootstrap 5 demo / examples repo
- Bootstrap 5 (single Locale) / examples repo - Code Sample with a single Locale (without
@aurelia/i18n)
License
Basic Grid
import { type Column, type GridOption } from 'aurelia-slickgrid';
interface User {
firstName: string;
lastName: string;
age: number;
}
export class Example {
columns: Column[] = []; // it could also be `Column<User>[]`
gridOptions: GridOption;
dataset: User[] = [];
constructor() {
this.columns = [
{ id: 'firstName', name: 'First Name', field: 'firstName'},
{ id: 'lastName', name: 'Last Name', field: 'lastName'},
{ id: 'age', name: 'Age', field: 'age' }
];
this.gridOptions = { /*...*/ }; // optional grid options
}
attached() {
this.dataset = [
{ id: 1, firstName: 'John', lastName: 'Doe', age: 20 },
{ id: 2, firstName: 'Jane', lastName: 'Smith', age: 21 }
];
}
}<aurelia-slickgrid
grid-id="grid2"
columns.bind="columns"
options.bind="gridOptions"
dataset.bind="dataset">
</aurelia-slickgrid>Like it? ⭐ it
You like Slickgrid-Vue? Be sure to upvote ⭐ the project, and perhaps support me with caffeine ☕ or sponsor me on GitHub. Any contributions are also very welcome. Thanks
Versions Compatibility
NOTE: Please be aware that only the latest major version of Aurelia-Slickgrid will be supported and receive bug fixes.
| Aurelia-Slickgrid | Aurelia | Migration Guide | Notes | Date | | :---------------: | --------- | --------------- | ----- | ---- | | 10.x | Aurelia 2 | Migration 10.x | modernization and accessibility, requires Slickgrid-Universal 10.x | 2026-03-02 | | 9.x | Aurelia 2 | Migration 9.x | ESM-Only, requires Slickgrid-Universal 9.x | 2025-05-10 | | 8.x | Aurelia 2 | Migration 8.x | modern UI / Dark Mode, requires Slickgrid-Universal 5.x | 2024-05-09 | | 7.x | Aurelia 2 | Migration 7.x | merge SlickGrid into Slickgrid-Universal, requires Slickgrid-Universal 4.x | 2023-12-19 | | 6.x | 1.x | Migration 6.x | removal of jQuery (now uses browser native code), requires Slickgrid-Universal 3.x | 2023-05-29 | | 5.x | 1.x | Migration 5.x | removal of jQueryUI, requires Slickgrid-Universal 2.x | 2022-10-18 |
