-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
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
fix(filter): Grid Preset Filters should work with Tree Data View #522
Conversation
ghiscoding
commented
Jul 13, 2020
- the Tree Data must execute pre-filtering with Tree Data when having Grid Preset Filters
- the Tree Data must execute pre-filtering with Tree Data when having Grid Preset Filters
grid.setColumns(gridColumns); | ||
} | ||
if (!this.customDataView) { | ||
this.loadPresetsWhenDatasetInitialized(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include all the other code below inside this if
} | ||
} | ||
|
||
// bind external filter (backend) when available or default onFilter (dataView) | ||
if (gridOptions.enableFiltering && !this.customDataView) { | ||
this.filterService.init(grid); | ||
this.loadPresetsWhenDatasetInitialized(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this line since it will be shown below
Codecov Report
@@ Coverage Diff @@
## master #522 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 148 148
Lines 9623 9634 +11
Branches 3360 3366 +6
=========================================
+ Hits 9623 9634 +11
Continue to review full report at Codecov.
|