resize

Event fires when the grid width is changed. The "responsive" configuration setting should be set to true in order this event to fire.

Examples

sample

    
 <table id="grid"></table>
 <script>
     var grid = $('#grid').grid({
         dataSource: '/0_6/Grid/GetPlayers',
         responsive: true,
         columns: [ { field: 'ID' }, { field: 'Name' }, { field: 'PlaceOfBirth' } ]
     });
     grid.on('resize', function (e, newWidth, oldWidth) {
         alert('resize is fired.');
     });
 </script>