Skip to content

Commit

Permalink
Fix Filter api setting the filter to the wrong column with duplicated…
Browse files Browse the repository at this point in the history
… binding
  • Loading branch information
OS-giulianasilva committed Jan 17, 2024
1 parent 52f3b56 commit ef7e706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Providers/DataGrid/Wijmo/Features/ColumnFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ namespace Providers.DataGrid.Wijmo.Feature {
const column = this._grid.getColumn(columnId);
if (column) {
const columnFilter = this._filter.getColumnFilter(
column.config.binding
column.provider
).conditionFilter;
const isNumericalColumn =
column.columnType ===
Expand Down Expand Up @@ -271,7 +271,7 @@ namespace Providers.DataGrid.Wijmo.Feature {
OSFramework.DataGrid.Enum.ColumnType.DateTime;

const columnFilter = this._filter.getColumnFilter(
column.config.binding
column.provider
).valueFilter;

// we receive values as an array ["Brazil", "Portugal"], but wijmo expects an object
Expand Down

0 comments on commit ef7e706

Please sign in to comment.