column.format : stringDefault: undefined

Format the date when the type of the column is date. This configuration setting is going to work only if you have implementation of format method for the Date object. You can use external libraries like http://blog.stevenlevithan.com/archives/date-time-format for that.

Examples

sample

    
 <table id="grid"></table>
 <script src="http://stevenlevithan.com/assets/misc/date.format.js"></script>
 <script>
     $('#grid').grid({
         dataSource: '/0_6/Grid/GetPlayers',
         columns: [
             { field: 'ID' },
             { field: 'Name' },
             { field: 'DateOfBirth', type: 'date', format: 'HH:MM:ss mm/dd/yyyy' }
         ]
     });
 </script>