column.priority : int Default: 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

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