I have a grid that is formatting the dates correctly when the grid initially loads. We have a toolbar with a drop down that will send a request to the server to fetch new data. When I insert the returned data into the grid, the date formatting goes away.
I included a small example of what is happening. The "Bind to Data Source" button is replacing the data through the kendo.data.DataSource object and the "Bind to Grid Data" button is replacing the data through the grid's datasource (I know it's essentially the same thing but I thought I'd try both methods anyway).
The only thing I can think of is if I destroy the grid and render a new one every time I fetch data. That's not a horrible problem but I didn't know if there was a more elegant way of doing this.
Thanks!
Here's a fiddle: http://jsfiddle.net/schapman/ypKrC/1/
I included a small example of what is happening. The "Bind to Data Source" button is replacing the data through the kendo.data.DataSource object and the "Bind to Grid Data" button is replacing the data through the grid's datasource (I know it's essentially the same thing but I thought I'd try both methods anyway).
The only thing I can think of is if I destroy the grid and render a new one every time I fetch data. That's not a horrible problem but I didn't know if there was a more elegant way of doing this.
Thanks!
Here's a fiddle: http://jsfiddle.net/schapman/ypKrC/1/