This is a migrated thread and some comments may be shown as answers.

Datetime Column in Kendo grid

1 Answer 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Abdul
Top achievements
Rank 1
Abdul asked on 26 May 2015, 05:41 AM

Hey

My Application stores record according to the timezone of the user. That part, being said is walk over. Problem is when I were to display them in a column in Grid. Values stored in the columns are according to the timezone, but when retrieved and displayed in grid, it probably converts it to timezone of the system. One work-around on the internet is to display the column by converting it in string. That seems to do the trick, but on the downside, i cannot filter the column. Is there a better way to handle the issue?

 

Abdul Rehman

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 28 May 2015, 06:20 AM
Hi Abdul,

You can try using the approach illustrated in this example, which allows you to compensate for the timezone offset.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Abdul
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or