detailTemplate : string Default: undefined


Template for the content in the detail section of the row. Automatically add expand collapse column as a first column in the grid during initialization.

Examples

  
Edit this example
<table id="grid"></table> <script> $('#grid').grid({ dataSource: '../Grid/GetPlayers', detailTemplate: '<div><b>DateOfBirth:</b> {DateOfBirth}</div>', columns: [ { field: 'ID' }, { field: 'Name' }, { field: 'PlaceOfBirth' } ] }); </script>