<?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: introduce $.jqgrid.inlineEdit options like $.jgrid.edit</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/introduce-jqgrid-inlineedit-options-like-jgrid-edit</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/introduce-jqgrid-inlineedit-options-like-jgrid-edit/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on introduce $.jqgrid.inlineEdit options like $.jgrid.edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/introduce-jqgrid-inlineedit-options-like-jgrid-edit#p25021</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/introduce-jqgrid-inlineedit-options-like-jgrid-edit#p25021</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>the setting <strong>$.jgrid.edit</strong> is very practical and it will be used by many real projects to set the common style used in the project.</p>
<p>The methods <strong>editRow</strong> and <strong>saveRow</strong> support (but not ducument) already parameters as one object with the properties. If one need to set some from the last parameters of&#160;<strong>editRow</strong>&#160;for example the usage in the form</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9750' value='Select Code' data-codeid='sfcode9750' /></p>
<div class='sfcode' id='sfcode9750'>$(&#39;#list&#39;).jqGrid(&#39;editRow&#39;, rowid, {keys: true, errorfunc: myErrorFunc});</div>
<p>seems me very practical.</p>
<p>On the other side everything is prepared to introduce <strong>$.jgrid.inlineEdit</strong>&#160;which could be used to set default values for the inline editing. For example setting of default <strong>errorfunc</strong>&#160;parameter seems me very usefull.</p>
<p>To impelemt new <strong>$.jgrid.inlineEdit</strong>&#160;one needd to change only <a href="https://github.com/tonytomov/jqGrid/blob/v4.2.0/js/grid.inlinedit.js#L29" target="_blank">one line</a> of the <strong>editRow</strong>&#160;code and <a href="https://github.com/tonytomov/jqGrid/blob/v4.2.0/js/grid.inlinedit.js#L111" target="_blank">one line</a> of&#160;<strong>saveRow</strong>&#160;code where <strong>$.extend</strong> are used. Of cause one should modify the code to use <strong>$.extend</strong>&#160;always.&#160;</p>
<p>It would be very good to see the changes in the main code of jqGrid.</p>
<p>Best regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Sat, 29 Oct 2011 13:06:52 +0300</pubDate>
        </item>
</channel>
</rss>