Home Self-Service Portal - Community
Options

Change Workitem Grid table DateTime to Long Date format

Ben_TeyBen_Tey Partner Adept IT Monkey ✭✭
Anyone have idea how to change the Short Date to Long Date in grid table?

Expected output


Tried with DateTime Setting but still no luck.

Best Answers

  • Options
    Ben_TeyBen_Tey Partner Adept IT Monkey ✭✭
    Answer ✓

    Great answer from Cireson.

    The only way to do that would be via an unsupported change to the GridBuilder.js code.

     File: C:\inetpub\CiresonPortal\Scripts\grids\gridBuilder.js

     Replace line 113 with:

    column.template = "#= " + column.field + " != null || " + column.field + " != undefined ? kendo.toString(new Date(" + column.field + "), 'ddd dd/MM/yyyy h:mm tt'): '' #";

Answers

  • Options
    Ben_TeyBen_Tey Partner Adept IT Monkey ✭✭
  • Options
    Ben_TeyBen_Tey Partner Adept IT Monkey ✭✭
    Thank you very much @Roland_Kind
    That a great start ! will test out in dev and fine tuning before go prod.
  • Options
    Ben_TeyBen_Tey Partner Adept IT Monkey ✭✭

    Looking forward official response from Cireson support. There are able to display the long date format under "My Request"
  • Options
    Ben_TeyBen_Tey Partner Adept IT Monkey ✭✭
    Answer ✓

    Great answer from Cireson.

    The only way to do that would be via an unsupported change to the GridBuilder.js code.

     File: C:\inetpub\CiresonPortal\Scripts\grids\gridBuilder.js

     Replace line 113 with:

    column.template = "#= " + column.field + " != null || " + column.field + " != undefined ? kendo.toString(new Date(" + column.field + "), 'ddd dd/MM/yyyy h:mm tt'): '' #";

  • Options
    Edmundo_AcostaEdmundo_Acosta Partner IT Monkey ✭


Sign In or Register to comment.