Skip to content
Merged
9 changes: 7 additions & 2 deletions projects/igniteui-angular/src/lib/grids/state.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ import { IgxColumnGroupComponent } from './columns/column-group.component';
import { IGroupingExpression } from '../data-operations/grouping-expression.interface';
import { IPagingState } from '../data-operations/paging-state.interface';
import { GridColumnDataType } from '../data-operations/data-util';
import { IgxBooleanFilteringOperand, IgxNumberFilteringOperand, IgxDateFilteringOperand,
IgxStringFilteringOperand, IFilteringOperation} from '../data-operations/filtering-condition';
import {
IgxBooleanFilteringOperand, IgxNumberFilteringOperand, IgxDateFilteringOperand,
IgxStringFilteringOperand, IFilteringOperation, IgxDateTimeFilteringOperand
} from '../data-operations/filtering-condition';
import { IGroupByExpandState } from '../data-operations/groupby-expand-state.interface';
import { IGroupingState } from '../data-operations/groupby-state.interface';
import { IgxGridComponent } from './grid/grid.component';
Expand Down Expand Up @@ -587,6 +589,9 @@ export class IgxGridStateDirective {
case GridColumnDataType.Date:
filters = IgxDateFilteringOperand.instance();
break;
case GridColumnDataType.DateTime:
filters = IgxDateTimeFilteringOperand.instance();
break;
case GridColumnDataType.String:
default:
filters = IgxStringFilteringOperand.instance();
Expand Down