Replies: 4 comments
-
The <igx-column dataType="date" [pipeArgs]="pipeArgs"></igx-column>
<igx-column field="OrderDate" [pipeArgs]="formatOptions" [dataType]="'date'"></igx-column> const pipeArgs: IColumnPipeArgs = {
format: 'longDate',
timezone: 'UTC',
digitsInfo: '1.0-2'
} |
Beta Was this translation helpful? Give feedback.
-
If you set the dataType to |
Beta Was this translation helpful? Give feedback.
-
I understand. While this gets implemented, you can put your own editing template and provide the input format to the <igx-column field="OrderDate" [dataType]="'dateTime'"
[editable]="true">
<ng-template igxCellEditor let-cell>
<igx-input-group>
<input type="text" igxInput [igxDateTimeEditor]="'dd/MM/yyyy'" [(ngModel)]="cell.editValue" [igxFocus]="true"/>
</igx-input-group>
</ng-template>
</igx-column> More details on how to configure your |
Beta Was this translation helpful? Give feedback.
-
Ok but it's not just the CellEditor but also the quick filter. |
Beta Was this translation helpful? Give feedback.
-
Question
I would like to change the time and datetime format for the grid's quick filter.
The properties
IgxColumnComponent.defaultTimeFormat
andIgxColumnComponent.defaultDateTimeFormat
seem to do just that but they are marked@internal
and@hidden
.Why are these properties not documented? Is it save to use these?
Beta Was this translation helpful? Give feedback.
All reactions