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: '/Players/Get',
         columns: [
             { field: 'ID', width: 56 },
             { field: 'Name' },
             { title: 'Info', tmpl: '{Name} is born in {PlaceOfBirth}.' }
         ]
     });
 </script>