<?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: editOptions seems bugged for url attribute</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute</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/bugs/editoptions-seems-bugged-for-url-attribute/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on editOptions seems bugged for url attribute</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28715</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28715</guid>
        	        	<description><![CDATA[<p>Hello Oleg,</p>
</p>
<p>It is true, but it is really very difficult to support the docs in perfect way.</p>
<p>Anyway we continue to improve the grid and will try to make it easy for more users.</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 23 Apr 2013 16:16:36 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on editOptions seems bugged for url attribute</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28703</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28703</guid>
        	        	<description><![CDATA[<p>Just for clearing of reason I wanted to add my comment here. The error of was because of not enough clear documention of the options of parameters of <strong>formatOptions</strong> of the <strong>formatter: "actions"</strong>. One can read in <a href="/jqgridwiki/doku.php?id=wiki:predefined_formatter#predefined_format_types" target="_blank">the documentation</a> just the names of options. One can find <strong>editOptions</strong>, <strong>delOptions</strong> and many other options including the option <strong>url</strong>. One could misunderstand the option&#160;<strong>url</strong>&#160;as common URL option where <strong>editOptions</strong>,&#160;<strong>delOptions</strong>&#160;could contains separate URLs for editing and delete. Espesially the people who worked before with <a href="/jqgridwiki/doku.php?id=wiki:inline_editing#inlinenav" target="_blank">inlineNav</a> could though so.</p>
<p>The problem is that <strong>formatter: "actions"</strong>&#160;supports <strong>editformbutton: true</strong> option. Only if one examins the source code of jqGrid one will see that properties of&#160;<strong>editOptions</strong>&#160;(inclusive the <strong>url</strong> property of <strong>editOptions</strong>) will be used only in case of form editing (in case of <strong>editformbutton: true</strong>). The inline editing methods uses properties defined directly in <strong>formatOptions</strong>.</p>
<p>So<strong></strong></p>
<p><input type='button' class='sfcodeselect' name='sfselectit3950' value='Select Code' data-codeid='sfcode3950' /></p>
<div class='sfcode' id='sfcode3950'>formatOptions: {<br />&#160; &#160; url: &#34;inlineEditingUrl&#34;, &#160;// used for inline editing<br />&#160; &#160; editOptions: { // defines only form editing options<br />&#160; &#160; &#160; &#160; url: &#34;formEditingUrl&#34; // use only with&#160;<strong>editformbutton: true</strong><br />&#160; &#160; },<br />&#160; &#160; delOptions: {<br />&#160; &#160; &#160; &#160; url: &#34;formEditingDeleteUrl&#34;<br />&#160; &#160; }<br />}&#160;</div>
<p>I described the problem in "UPDATED 2" part of <a href="http://stackoverflow.com/a/16055744/315935" target="_blank">my answer</a>.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Mon, 22 Apr 2013 13:08:22 +0300</pubDate>
        </item>
        <item>
        	<title>tony on editOptions seems bugged for url attribute</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28702</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28702</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Please look at <strong>editurl</strong> option into the documentation.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 22 Apr 2013 12:36:06 +0300</pubDate>
        </item>
        <item>
        	<title>DaGLiMiOuX on editOptions seems bugged for url attribute</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28701</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28701</guid>
        	        	<description><![CDATA[<p>Problem solved. Oleg showed me that there is an only way to define URL parameter for inlineEditing when you are using &#39;actions&#39; column (edit and delete buttons column near each row).</p>
</p>
<p>You have to set &#39;url&#39; property at &#39;formatOptions&#39;, that will be default URL for editing and delete rows unless you specify on &#39;delOptions&#39; another URL at &#39;url&#39; property of &#39;delOptions&#39; or &#39;url&#39; property of &#39;editOptions&#39; (<strong>ONLY</strong> for <strong>form editing</strong>). Inline edit options don&#39;t have a property like those to specify an URL, then it uses &#39;default&#39; URL editing specified at &#39;url&#39; property of &#39;formatOptions&#39;.</p>
</p>
<p>I hope this will help to someone that had my same problem.</p>
</p>
<p>Best regards.</p>
]]></description>
        	        	<pubDate>Mon, 22 Apr 2013 12:22:42 +0300</pubDate>
        </item>
        <item>
        	<title>tony on editOptions seems bugged for url attribute</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28693</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28693</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes the best way is to prepare a test&#160; case.</p>
<p>Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Sun, 21 Apr 2013 10:42:43 +0300</pubDate>
        </item>
        <item>
        	<title>DaGLiMiOuX on editOptions seems bugged for url attribute</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28667</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/editoptions-seems-bugged-for-url-attribute#p28667</guid>
        	        	<description><![CDATA[<p>Hi all.</p>
</p>
<p>Well, my problem starts since I tried to do a grid with a subgrid. Already got it, a grid with another grid as a subgrid. I thought that the best way to edit the information that I recieve from the API server was to put a column with formatter: &#39;actions&#39;. That offers me to edit each row as inline edit and another delete button, to simply delete that row.</p>
</p>
<p>I tried to send the edit and delete data serialized in JSON format. Had to search and search through internet&#8230; but I did not find anything useful. Not enough information through internet about how to do that. Atleast, I posted at StackOverflow my problem and Oleg helped me a lot.</p>
<p>He told me that to do that I need to add this at the beginning of my script.</p>
</p>
<p>$.extend($.jgrid.defaults, {</p>
<p>ajaxRowOptions: {contentType: "application/json",             dataType: "json"&#8230;},</p>
<p>serializeRowData: function(data) {             delete data.oper;             return JSON.stringify(data);         }</p>
<p>});</p>
</p>
<p>That to send edited data inline serialized. Thats too hard to know. Someone could do something easier if possible&#8230;</p>
</p>
<p>Well, leaving this apart, Its supposed that if I have an inline editing, at formatoptions in actions column in my colModel, I could use editOptions: {&#8230;} to set properties for inline editing like URL. Already used delOptions{&#8230;} and could set an URL to send the id of the row deleted and could set the serializeDelData to send that row in JSON format, but for editing I use URL property at editOptions and it doesnt work. It uses the URL of the iframe which is located.</p>
</p>
<p>I dont know if it is clear, but I think that is a bug. I did not defined an editUrl or something that could make that jqGrid goes "crazy".</p>
</p>
<p>If it is not a bug, I&#39;d appreciate that someone gives me a solution.</p>
</p>
<p>If you need more information or need to clarify something, just ask me.</p>
</p>
<p>Thanks and greetings.</p>
]]></description>
        	        	<pubDate>Wed, 17 Apr 2013 17:44:57 +0300</pubDate>
        </item>
</channel>
</rss>