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
filteredData should be always sorted, even if data is not filtered.
filteredData
if no filter used, filteredData should return the same array as sortedData.
sortedData
sortedData matches the rendered table. filteredData has the contains the unsorted datasource.
angular: 12.0 ngrid: 4.0.0-alpha.3
Currently I workaroud by accessing like:
const data = this.grid.ds.filter !== undefined ? this.grid.ds.filteredData : this.grid.ds.sortedData;
If this is by design, do not hesitate closing this issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is the expected behavior?
filteredData
should be always sorted, even if data is not filtered.What is the current behavior?
if no filter used,
filteredData
should return the same array assortedData
.What are the steps to reproduce?
sortedData
andfilteredData
to the console.sortedData
matches the rendered table.filteredData
has the contains the unsorted datasource.Which versions of Angular, CDK, Material, NGrid, OS, TypeScript, browsers are affected?
angular: 12.0
ngrid: 4.0.0-alpha.3
Is there anything else we should know?
Currently I workaroud by accessing like:
If this is by design, do not hesitate closing this issue.
The text was updated successfully, but these errors were encountered: