column.tmpl : stringDefault: undefined

Template for the content in the column. Use curly brackets "{}" to wrap the names of data source columns from server response.

Examples

sample

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         dataSource: '/0_6/Grid/GetPlayers',
         columns: [
             { field: 'ID' },
             { field: 'Name' },
             { title: 'Info', tmpl: '{Name} is born in {PlaceOfBirth}.' }
         ]
     });
 </script>