autoGenerateColumns : array

Auto generate column for each field in the datasource when set to true.

Examples

sample

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         dataSource: '/Players/Get',
         autoGenerateColumns: true
     });
 </script>