<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Filling jqGrid parameters like colModel per ajax</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/filling-jqgrid-parameters-like-colmodel-per-ajax</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/feature-request/filling-jqgrid-parameters-like-colmodel-per-ajax/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on Filling jqGrid parameters like colModel per ajax</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/filling-jqgrid-parameters-like-colmodel-per-ajax#p22758</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/filling-jqgrid-parameters-like-colmodel-per-ajax#p22758</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I read frequently, that users need to have more information of jqGrid loaded per ajax from the server. There are some typical examples:</p>
<p>1) one have some known columns and some columns with the same template, but <strong>different number of columns</strong>. see <a href="http://www.ok-soft-gmbh.com/jqGrid/DynamicColumnNumbers.htm" target="_blank">this</a> and <a href="http://www.ok-soft-gmbh.com/jqGrid/Martix.htm" target="_blank">this</a> examples. From the AJAX input one can define the real current number of columns abd fill the grid. Having addColumn and removeColumn functions could solve the problem.</p>
<p>2) one need to get the information about the <strong>order of columns</strong>, about which columns will be <strong>hidden</strong> and probably about the <strong>width</strong> of the column from the server. It can be interpret as a form of grid personalization. The information can be solved for example by extending the server response with the information. Currently it can be implemented with respect of userData, but the user have to implement many things manually.</p>
<p>3) One want to load <strong>colModel</strong> and <strong>colNames</strong> from the server per ajax. In some situations one need to manage more server parameters from the server (grid <strong>height, width</strong> and so on). Currently one get separate $.ajax call and then create jqGrid with the data returned from the server. One has already cellurl, editurl, subGridUrl and more in the jqGrid. One can introduce one more url which will be used to load important information <em>to create jqGrid and inside of success handler</em> fill the jqGrid. One can compare this with <strong>dataUrl</strong> use to build select elements used for editing or searching.</p>
<p>What do you think about extending jqGrid possibilities for some of this cases?</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Tue, 12 Apr 2011 19:27:19 +0300</pubDate>
        </item>
</channel>
</rss>