Created
November 27, 2014 08:51
-
-
Save ziyahan/e5545b1f3ec7572fe690 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parse: function(response) { | |
var tmpData=[]; | |
for (var i = 0; i < response.length; i++) { | |
var tmpRow = response[i]; | |
$.each(tmpRow, function(colNo, colValue){ | |
if(colNo.indexOf("Date")>-1){ | |
tmpRow[colNo]=kendo.parseDate(new Date(tmpRow[colNo])); | |
} | |
}); | |
tmpData.push(tmpRow); | |
} | |
return tmpData; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment