Enhancement: Support for displaying page wise loaded data #42
+251
−156
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
CONTRIBUTING.md also tells you what to expect in the PR process.
Description
Adds an option to customize handling of changes which affect the currently displayed page in the table. This can be used to display page wise loaded data in the table. It behaves like all data is present but in fact, only the data items of the currently visible table page is handed to the data table component.
Switching pages, changing page size, sorting of columns and the csv export are all adapted and work with the new changes.
The behavior of the data table does not change with this PR. For the user, the table behaves the same, with or without this new option. The changes are only technical and in the background.
Related Issue
Related to #41 Option to customize handling of page size, page number or sorting changes
FYI @verena-ifx
📦 Published PR as canary version:
0.11.0--canary.42.a0217821a43b463968802cf62790dbad9a1de59b.0
✨ Test out this PR locally via:
npm install @infineon/infineon-vue-datatable@0.11.0--canary.42.a0217821a43b463968802cf62790dbad9a1de59b.0 # or yarn add @infineon/infineon-vue-datatable@0.11.0--canary.42.a0217821a43b463968802cf62790dbad9a1de59b.0