We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a column builder to fast development. The API will be something like:
export default { data() { return { options: GridBuilder.createOptions({ groupBy: 'name', columnDefs: [ { title: 'Product name', field: 'name', cellType: 'LINK', newWindow: true, cellLink: entity => `product/edit/${entity.id}`, }, { title: 'Price', field: 'price', topCalc: 'max', cellType: 'CURRENCY', }, { title: 'Discount', field: 'discount', cellType: 'PERCENTAGE', }, { title: 'Actions', cellType: 'ACTION', actions: [ { icone: 'fa-pencil', color: 'primary', events: { click(entity) { this.someMethod(entity); }, }, }, { icone: 'fa-times', color: 'danger', events: { click(entity) { this.someMethodOtherMethod(entity); }, }, }, { icone: 'fa-eye', color: 'info', events: { click(entity) { this.someMethodOtherMethod(entity); }, }, }, ], }, ], }, this), }; }, };
Core:
List of cellTypes to implement:
The text was updated successfully, but these errors were encountered:
#1 - Draft GridBuilder
9cf91ca
0218108
No branches or pull requests
Create a column builder to fast development.
The API will be something like:
Core:
List of cellTypes to implement:
The text was updated successfully, but these errors were encountered: