-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pagination): reload local grid with pagination presests w/same data
- Loading branch information
1 parent
3e2ad87
commit 80eef1a
Showing
8 changed files
with
138 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/app/modules/angular-slickgrid/models/pagination.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
export interface Pagination { | ||
/** How many pages do we have in total to display the entire dataset? */ | ||
pageCount?: number; | ||
|
||
/** Current page number that we are we currently displaying. */ | ||
pageNumber?: number; | ||
|
||
/** The available page sizes */ | ||
pageSizes: number[]; | ||
|
||
/** Current page size chosen */ | ||
pageSize: number; | ||
|
||
/** The full total count of items for the entire dataset */ | ||
totalItems?: number; | ||
|
||
/** Current From count (which displayed items are we starting from) */ | ||
dataFrom?: number; | ||
|
||
/** Current To count (which displayed items are we ending to) */ | ||
dataTo?: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.