{"id":5318,"date":"2014-03-30T20:39:52","date_gmt":"2014-03-30T20:39:52","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-subgrid-collection-of-common-programming-errors\/"},"modified":"2014-03-30T20:39:52","modified_gmt":"2014-03-30T20:39:52","slug":"problem-about-subgrid-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-subgrid-collection-of-common-programming-errors\/","title":{"rendered":"problem about subgrid-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1b01439cb4c2fc007ed50c409a3a5f02?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nadam saparudin<br \/>\nphp jquery mysql jqgrid subgrid<br \/>\nim getting stuck when i want create subgrid, always show uncaught exception: jqGrid &#8211; No such method: addSubGridCell i already try the sample but im getting error to,,, here is JS im so confused what i must do&#8230; $(document).ready(function(){var grid = $(&#8220;#list2&#8221;);grid.jqGrid({url: &#8216;json.php&#8217;, \/\/URL Tujuan Yg Mengenerate data Json nyadatatype: &#8220;json&#8221;, \/\/Datatype yg di gunakanheight: &#8220;auto&#8221;, \/\/Mengset Tinggi table jadi Auto menyesuaikan dengan isi tablemtype: &#8220;GET&#8221;,colNames: [&#8216;action&#8217;,&#8217;id&#8217;,&#8217;Agen&#8217;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d2fe88fb2ca8a2047771bde11d39814c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nOleg<br \/>\njquery jqgrid formatter subgrid<br \/>\ni run in to a problem, I have the next jqgrid:grid.jqGrid({datatype: &#8220;xml&#8221;,url:&#8217;..\/Controladores\/cPedidos.php?action=lpp&#8217;,mtype: &#8216;POST&#8217;,colNames:[&#8216;FECHA&#8217;,&#8217;PROVEEDOR&#8217;,&#8217;USUARIO&#8217;],colModel:[{name:&#8217;fecha_compra&#8217;,index:&#8217;fecha_compra&#8217;,width:120, sorttype: &#8216;date&#8217;,formatter: &#8216;date&#8217;, formatoptions: { srcformat: &#8216;m\/d\/Y H:i&#8217;, newformat: &#8216;d\/m\/Y H.i&#8217;} },{name:&#8217;nombre&#8217;,index:&#8217;nombre&#8217;,editable: false, width:560},{name:&#8217;usuario_id&#8217;,index:&#8217;usuario_id&#8217;,width:100, editable: false}],rowNum:100,rowList:[50,100,200],<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/97ee09438839fd32120fdb03eaeb1eed?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJacky Chen<br \/>\ndynamics-crm-2011 ribbon article subgrid quick-search<br \/>\nThe quick find function on the KB article entity is slightly enhanced compared to other entities as it present you with more search parameters, a new search ribbon (called Mscrm.ArticleSearchRibbon internally). E.g. search by title, subject, number, or search exact or like word.However, when a quick find is enabled on a KB Article subgrid, the search throws javascript errors &#8216;&#8221;KB_OFFLINE&#8221; is undefined&#8217; when the search box gets focused and &#8220;getParameter(&#8220;viewtype&#8221;)&#8217; when a search is performed. It<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/Y5Fp1.jpg?s=32&amp;g=1\" \/><br \/>\nmattytommo<br \/>\njquery json jqgrid subgrid<br \/>\nI am trying to popluate a subgrid with json data without using the subgridurl (as this will make calls to the page for each row expand) . but am getting Error: &#8220;t.rows is undefined&#8221; (in grid.base.js). code is as below : versions of modules used : jquery-1.6.2.js jqGrid 3.3.2Thanks in advance.jQuery(gridID).jqGrid({url: dataURL,datatype: &#8220;json&#8221;,colNames: [&#8216;ID&#8217;, &#8216;FirstName&#8217;, &#8216;LastName&#8217;, &#8216;Address1&#8217;, &#8216;Address2&#8217;, &#8216;City&#8217;, &#8216;Country&#8217;],colModel: [{ name: &#8216;id&#8217;, width: 200, sortable: false },{ name: &#8216;fir<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e18a3def2bb15d6fde35d657bc0737ae?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nPaulo Pedroso<br \/>\njquery json jqgrid subgrid<br \/>\nThis is the second day I am struggling with this issue, it seems either no one is using subgrid or I am peeweeing something here.This is my grid code:jQuery(&#8220;#gridTable&#8221;).jqGrid({ url: ROOT + &#8216;\/admin\/station\/getPagedList.json&#8217;,datatype: &#8220;json&#8221;, jsonReader : {cell: &#8220;&#8221;,id: &#8220;0&#8221;, repeatitems: false,\/\/ subgrid: { \/\/ root:&#8221;rows&#8221;, \/\/ repeatitems: false, \/\/ cell:&#8221;cell&#8221; \/\/ } },colNames:[&#8216;ID&#8217;, &#8216;Esta&amp;ccedil;&amp;atilde;o&#8217;, &#8216;Sigla&#8217;, &#8216;Linha&#8217;, &#8216;Lote&#8217;, &#8216;Empresa&#8217;],<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5653e5e000f7be61c28776bfbaa51a18?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTarelli<br \/>\njquery jqgrid subgrid<br \/>\nI have a JQGrid with a subgrid (simple one, not as a grid) which worked fine till yesterday. Then I discovered the powerful flag loadonce=true which gives me pagination, search, etc. for free. But since I have enabled loadonce the subgrid stopped working and when I click on the plus to expand a row the loading box appears and doesnt go away. If I remove loadonce=true everything works as expected. Here is my javascript, thanks in advance.$(&#8220;#testsTable&#8221;).jqGrid({mtype: &#8220;POST&#8221;,url: &#8220;GetCurrentStat<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>adam saparudin php jquery mysql jqgrid subgrid im getting stuck when i want create subgrid, always show uncaught exception: jqGrid &#8211; No such method: addSubGridCell i already try the sample but im getting error to,,, here is JS im so confused what i must do&#8230; $(document).ready(function(){var grid = $(&#8220;#list2&#8221;);grid.jqGrid({url: &#8216;json.php&#8217;, \/\/URL Tujuan Yg Mengenerate data [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5318","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5318"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5318\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}