jQuery Grid 3.2
The long avaited version 3.2 of jqGrid is finally out. This version is a big step forward and is primarily a bug fix release. Again with this there are some very usefull features and methods. You can view the full list of what was fixed and what is new in the Documentation page. Also check the Examples Page to view the new methods and properties.
I’d also like to take this opportunity to welcome Reg Brehaut to the jqGrid development team. He provided valuable help in pulling this release together – contributing the entry documentation, bug fixes, and features. You can see the result of his hard work on the Documentation page. Welcome Reg and thank him for all his contributions!
we are giving height=”some pixel value” inside the struts tag, so that the grid
height gets fixed height, is it possible to set the height dynamically with the value window.innerHeight for the grid height
Hi all,
I am new to jqGrid,
I am getting jQuery(“#list4”).jqGrid is not a function ..jsp is
jQuery(document).ready(function (){
jQuery(‘#list4’).jqGrid({
datatype: “local”,
height: 250,
colNames:[‘Inv No’,’Date’, ‘Client’, ‘Amount’,’Tax’,’Total’,’Notes’,’ABCD’],
colModel:[
{name:’tokenId’,index:’tokenId’, width:60, sorttype:”string”},
{name:’paramValue1′,index:’paramValue1′, width:90, sorttype:”date”},
{name:’paramValue2′,index:’paramValue2′, width:100},
{name:’paramValue3′,index:’paramValue3′, width:80, align:”right”,sorttype:”float”},
{name:’paramValue4′,index:’paramValue4′, width:80, align:”right”,sorttype:”float”},
{name:’paramValue5′,index:’paramValue5′, width:80,align:”right”,sorttype:”float”},
{name:’paramValue6′,index:’paramValue6′, width:150, sortable:false},
{name:’paramValue7′,index:’paramValue7′, width:150, sortable:false}
],
multiselect: true,
caption: “Manipulating Array Data”
});
var mydata = [
{id:”1″,invdate:”2007-10-01″,name:”test”,note:”note”,amount:”200.00″,tax:”10.00″,total:”210.00″},
{id:”2″,invdate:”2007-10-02″,name:”test2″,note:”note2″,amount:”300.00″,tax:”20.00″,total:”320.00″},
{id:”3″,invdate:”2007-09-01″,name:”test3″,note:”note3″,amount:”400.00″,tax:”30.00″,total:”430.00″},
{id:”4″,invdate:”2007-10-04″,name:”test”,note:”note”,amount:”200.00″,tax:”10.00″,total:”210.00″},
{id:”5″,invdate:”2007-10-05″,name:”test2″,note:”note2″,amount:”300.00″,tax:”20.00″,total:”320.00″},
{id:”6″,invdate:”2007-09-06″,name:”test3″,note:”note3″,amount:”400.00″,tax:”30.00″,total:”430.00″},
{id:”7″,invdate:”2007-10-04″,name:”test”,note:”note”,amount:”200.00″,tax:”10.00″,total:”210.00″},
{id:”8″,invdate:”2007-10-03″,name:”test2″,note:”note2″,amount:”300.00″,tax:”20.00″,total:”320.00″},
{id:”9″,invdate:”2007-09-01″,name:”test3″,note:”note3″,amount:”400.00″,tax:”30.00″,total:”430.00″}
];
for(var i=0;i<=mydata.length;i++)
jQuery("#list4").jqGrid('addRowData',i+1,mydata[i]);
});
I am getting jQuery("#list4").jqGrid is not a function
I want to load a jqgrid on click of button from some other jsp using ajax call.I’m getting everything except jqgrid.Actually I already have a jqgrid on my first page but I want to replace it with some other grid on click of second button.
Rely asap