Thursday, January 26, 2012

javascript - completely hide the jqgrid with wrapper div

<div id="gridWrapper" style="display: none;" >
<table id="grid1"></table>
</div>

and then, I can use

$('#gridWrapper').toggle();

to toggle the wrapper and show the grid when I want.

No comments: