Home Analyst Portal

ODataTable DateTime Show only Date in german format

Jan_SchulzJan_Schulz Customer IT Monkey ✭

Hi,

is it possible to format the shown datetime value in a ODataTable, like in the format dd.mm.yyyy ?

At the moment we have something like this

But this is not a good value to show in a table. We need short date informations.

Best Answer

Answers

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭

    @Jan_Schulz - You can define a custom desktop template on the OData Table Widget to format the date how you want it:

    Hopefully, all you have to do is just do a quick update of the kendo date formatting being used:

    https://docs.telerik.com/kendo-ui/globalization/intl/dateformatting

  • Jan_SchulzJan_Schulz Customer IT Monkey ✭

    @Justin_Workman thank you for the hint.

    do you have already configured such a template? I dont know how to start to edit this.

    Where can i find the description of the syntax?

    In my example it looks like following:

    I think the (GueltigAb) is the internal Name of the Class Property and the columnname is after the ?.

    I have the problem where to start with the customizing.

  • Jan_SchulzJan_Schulz Customer IT Monkey ✭
    Accepted Answer

    @Justin_Workman

    I think i have found out how to do it.

    i did this and it works.

    thanks a lot.

Sign In or Register to comment.