Home › Forums › Guriddo jqGrid JS › Help › 2 Questions about jqGrid (Subgrid) and json(string)
Hi everybody
I'm developping a web application with Java, Springframework, DWR and JQuery.
My first grid was successful.
$("#sortable").jqGrid({
Hello,
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:subgrid#methods
One note (which I will correct into the docs)
If you use subGridJson you should use the method this way:
var mygrid = jQuery(“#mygrid”)[0];
mygrid.subGridJson(arraydata,rowid)
About the second question.
The addRowData currently does not support this. I suggest you to use datatype as function – see docs and addJSONData method to add data. This method support this named convention.
Regards
Tony
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS