Igx-grid column data type "date"
New DiscussionHello,
I have a strange behaviour when I am creating a row in a cell of type "date".
I have formatted the column to have a short date in French format.
When I create a new cell, when I leave the cell, it is formatted in English with a Day-1 date stored in the database.
I don't understand.
Do you have any suggestions ?
— HTML
<igx-column field="DTACHAT" header="Dt Achat" [pinned]=true [filterable]=false width=150 [dataType]="'date'" [pipeArgs]="formatDateOptions" > </igx-column>
—- TS
public optionsDate = {
format: 'shortDate',
timeZone: '+0200',
locale : 'fr-FR'
}
public formatDateOptions = this.optionsDate

Best regards,
Philippe DUFEIL
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
3 Created On
Sep 01, 2022 Last Post
3 years, 6 months ago