Skip to content

Commit

Permalink
fix(backend): able to preset filters on hidden columns & all queried
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed May 21, 2021
1 parent 2479e6c commit f1d92cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/odata/src/services/grid-odata.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class GridOdataService implements BackendService {
this.pagination = pagination;

if (grid?.getColumns) {
const tmpColumnDefinitions = sharedService?.visibleColumns ?? grid.getColumns() ?? [];
const tmpColumnDefinitions = sharedService?.allColumns ?? grid.getColumns() ?? [];
this._columnDefinitions = tmpColumnDefinitions.filter((column: Column) => !column.excludeFromQuery);
}
}
Expand Down

0 comments on commit f1d92cd

Please sign in to comment.