Is it possible to set a date format in a grid column? I found only a numberMask for numeric columns. Currently a date is always shown as "dd-mm-yyyy hh24:mi:ss" and in my case the time is always 00:00:00, so I would like to define a format which only shows the date portion without time. While we enable sorting and filtering on the column, it has to be a real date column, because otherwise you have no date-filter where you can define ranges.

Thanks for your help.


asked 02 Nov '15, 11:28

Kai's gravatar image

accept rate: 0%

Hi Kai,

To achieve your request you can use dateField component in your grid column and bind your date datatyped datasource column to this dateField component. dateField component has the dateFormat attribute where you can specify your date format.

Hope this helps,


answered 03 Nov '15, 02:16

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 02 Nov '15, 11:28

Seen: 1,644 times

Last updated: 03 Nov '15, 02:16

© Copyright Gerger 2017