Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
Igx-grid column data type "date"
posted

Hello,
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
Parents Reply Children
No Data