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

Date formating in the grid does not work when model is defined outside of DataSource

5 Answers 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 1
Stefan asked on 08 Sep 2012, 06:38 PM
Hello,

I have a model containing the date field which is defined standalone and the Datasource which is using the model.
I am trying to format the dates in grid column, but I keep getting " /Date(1344636000000)/ " instead of the formatted date.
The sample : http://jsfiddle.net/xpista/wWsZD/3/

However - if I define the model inside the DataSource, the formatting is working as expected: http://jsfiddle.net/xpista/m4Tr4/

Is this a bug or am I missing something?

Thanks, Stefan

5 Answers, 1 is accepted

Sort by
0
Accepted
Alexander Valchev
Telerik team
answered on 12 Sep 2012, 02:19 PM
Hi Stefan,

Thank you for providing a jsFiddle example.

This is a known issue with the official release which is fixed in the internal builds. I tested your code with the latest scripts and got it working as expected.
The internal builds are available only for customers, so I am afraid that I cannot provide you with a download link. Fortunately a service pack release which is available for all users is scheduled for the end of the week.

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
D.Kermott
Top achievements
Rank 1
answered on 12 Sep 2012, 02:56 PM
Thanks, I'll be looking for the new version too.
0
D.Kermott
Top achievements
Rank 1
answered on 19 Sep 2012, 11:50 PM
Is this a paid upgrade?

Can you provide a link on how to download this new version? 2012.2.913

The web download page is still 2012.2.710
0
Jeremy Cook
Top achievements
Rank 1
answered on 01 Nov 2012, 06:08 AM
I am running version 2012.2.1029 and still experiencing the same problem with the date format, should it be resolved in this version or do i still need to wait for next release>

 

0
Alexander Valchev
Telerik team
answered on 05 Nov 2012, 03:43 PM
Hi guys,

@Jeremy
I tested the code from the jsFiddle example that Stefan posted with the service pack release (2012.2.913) and got everything to work as expected. Could you please take a look at the updated page and let me know what I am missing?
@David
Internal and service pack releases are available only for commercial licence owners. The trial users have access only to major releases.

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Stefan
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
D.Kermott
Top achievements
Rank 1
Jeremy Cook
Top achievements
Rank 1
Share this question
or