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: '/0_6/Grid/GetPlayers',
         autoGenerateColumns: true
     });
 </script>