expandAllReturns: jQuery object

Expand all grid rows.

Examples

Sample

    
 <button onclick="grid.expandAll()" class="gj-button-md">Expand All</button>
 <button onclick="grid.collapseAll()" class="gj-button-md">Collapse All</button>
 <br/><br/>
 <table id="grid"></table>
 <script>
     var grid = $('#grid').grid({
         dataSource: '/Players/Get',
         detailTemplate: '<div style="text-align: left"><b>Place Of Birth:</b> {PlaceOfBirth}</div>',
         columns: [ { field: 'ID', width: 56 }, { field: 'Name' }, { field: 'DateOfBirth', type: 'date' } ],
         grouping: { groupBy: 'CountryName' },
     });
 </script>