A simple example of a Jqgrid table changing with the window size


With the jquery plug-in, the main implementation is that when the window changes, the jqgird table also changes in size

**HTML: **< Div id = “liste” >   < Table id=“list” class=“scroll” cellpadding=‘0’ cellspacing=‘0’ > < / table>       < Div id = “pager” class = “scroll” style = “text - align: center;” > < / div> < / div>

**JS: **$(function () { $(window). The resize (function () {    $(” # list ”). SetGridWidth ($(window), width ());   });   });