Example code:
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
$(document).ready(function() {
testGrid = jQuery("#testGrid").jqGrid({
url:'/test/',
datatype: "json",
colModel: [
{name:'id', width:100},
{name:'Col1', width:100},
{name:'Col2', width:1000},
],
scroll: true,
shrinkToFit: false,
width: 400
});
});
Display:

After scrolling to the right:
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top