collapsible: { css:{ marginTop: '50px'} }, toggle: function(evt, ui){ if(ui.state == 'max' ){ //customize height of grid in maximize state. this.option("height", "100%-50"); } },