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

kendo grid date column format after filtering

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 23 Jun 2017, 02:00 PM

I have a kendo MVC grid that has a bound column like below

 

columns.Bound(c => c.CreatedDate).Title("Submitted on").Filterable(ftb => ftb.Cell(cell => cell.Operator("contains"))).Format("{0: MM/dd/yyyy HH.mm.ss}");

 

the column formats fine when first loading the view: 06/22/2017 15.02.00
but i have some buttons which use AJAX to post back and get back filtered data and when re-populating the grid the column looks like this:

/Date(1498161720000)/

Any help?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 27 Jun 2017, 06:04 AM
Hi Richard,

In order for the format to be applied correctly, the objects for that column should be Date object. With that in mind, please provide more information on your exact implementation and especially, how you are re-populating the Grid.


Regards,
Konstantin Dikov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Richard
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or