column.priority : intDefault: undefined

The priority of the column compared to other columns in the grid. The columns are hiding based on the priorities. This setting is working only when the responsive setting is set to true.

Examples

sample

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         dataSource: '/0_6/Grid/GetPlayers',
         responsive: true,
         columns: [
             { field: 'Name' },
             { field: 'PlaceOfBirth', priority: 1 },
             { field: 'DateOfBirth', priority: 2, type: 'date' }
         ]
     });
 </script>