{"id":6107,"date":"2014-04-13T02:24:06","date_gmt":"2014-04-13T02:24:06","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/13\/jqgrid-column-name-from-table-collection-of-common-programming-errors\/"},"modified":"2014-04-13T02:24:06","modified_gmt":"2014-04-13T02:24:06","slug":"jqgrid-column-name-from-table-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/13\/jqgrid-column-name-from-table-collection-of-common-programming-errors\/","title":{"rendered":"JQGrid Column name from Table-Collection of common programming errors"},"content":{"rendered":"<p>Am working on JQGrid and i got this doubt on how to implement.<\/p>\n<p>Currently am displaying standard set of results to user every time as given in examples.<\/p>\n<pre><code>colNames:['Inv No no NO','Date', 'Client', 'Total in EUR']\n<\/code><\/pre>\n<p>Suppose if am changing this result set i will change in .js file (add or remove column) of JqGrid.<\/p>\n<p>Is there a any way i can bring these Column names from Table and Bind it to JqGrid ?<\/p>\n<p>Also how do i ADDcolumn names at runtime ? like adding new Column and all.<\/p>\n<p>Thanks<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Am working on JQGrid and i got this doubt on how to implement. Currently am displaying standard set of results to user every time as given in examples. colNames:[&#8216;Inv No no NO&#8217;,&#8217;Date&#8217;, &#8216;Client&#8217;, &#8216;Total in EUR&#8217;] Suppose if am changing this result set i will change in .js file (add or remove column) of JqGrid. [&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-6107","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6107","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=6107"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6107\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}