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
175
igx-grid german locale
posted

Hi,

how can i set the igx-grid locale to "de"  and Filter in the grid ?

My Values Formated like this 2019-03-19 13:54:59.523 how can i realize to Filter with German Formatings like contains 09.2019 ??

Thank you

ingo

Parents Reply
  • 16310
    Offline posted in reply to ingo scholz

    Hi Ingo,

    Please see the Localization topic for how-to localize Ignite UI for Angular components.

    registerLocaleDate that you used is an Angular thing, and is used only by the Angular framework itself internally., it does not affect Ignite UI components on the page. Though, once you have registered it, you should be able to format the date in de locale using the DatePipe:

    <igx-column field="OrderDate" header="Order Date" [dataType]="'date'">
        <ng-template igxCell let-cell="cell" let-val let-row>
            {{val | date}}
        </ng-template>
    </igx-column>

    Please let me know if you gave further questions.

    Hristo

Children
No Data