Skip to content

Commit

Permalink
chore: fix failing Cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Nov 30, 2024
1 parent bc01fe8 commit 27921a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/demo/src/examples/slickgrid/example10.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,13 @@ export class Example10 {
}
}

// Toggle the Pagination of Grid2
// IMPORTANT, the Pagination MUST BE CREATED on initial page load before you can start toggling it
// Basically you cannot toggle a Pagination that doesn't exist (must created at the time as the grid)
isGrid2WithPaginationChanged() {
this.aureliaGrid2.paginationService!.togglePaginationVisibility(this.isGrid2WithPagination);
}

onGrid1SelectedRowsChanged(_e: Event, args: any) {
const grid = args && args.grid;
if (Array.isArray(args.rows)) {
Expand Down

0 comments on commit 27921a3

Please sign in to comment.