<?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: inline editing with local array and row edit</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-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/discussion/inline-editing-with-local-array-and-row-edit/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>skkarri on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3694</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3694</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Thank you, that explains how to get the data from edited row.&#160; I guess i will have to embed the&#160;logic to check for dirty cells and then make the appropriate call. Also, I guess this is the cause for the subgrid to be displayed as code upon edit...Seems like i will need some display logic here as well.&#160;&#160;</p>
<p>Thanks for the help and Wish you all a very happy new year 2009.</p>
<p>happy holidays,</p>
<p>Suresh</p>
]]></description>
        	        	<pubDate>Tue, 23 Dec 2008 12:39:05 +0200</pubDate>
        </item>
        <item>
        	<title>tony on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3682</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3682</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>To be a clear. getRowData does not work correct when the row is edited, since of the additionlly added contend. To obtain the data for edited row you should use the combination of the rowid and name from colmodel something like:</p>
<p>if you edit the row with id 2 then</p>
<p>jQuery("2_myname").val();</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 23 Dec 2008 04:30:22 +0200</pubDate>
        </item>
        <item>
        	<title>skkarri on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3653</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3653</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Thanks. I was able to retrieve the data from subgrid as well. However, there seems to be an issue upon edit where the cell value within the subgrid is being set to the html text (e.g getRowData gives me &#60;input class=editable id=2_Pos style=&#8221;width:99%&#8221; value=8 jQueryxx=&#39;249&#39; &#62; where it should have only given me 8</p>
<p>I noticed the same behaviour when&#160;i close the subgrid.&#160;The subgrid gets represented as&#160;a row with html code.</p>
<p>/Suresh</p>
]]></description>
        	        	<pubDate>Mon, 22 Dec 2008 18:50:22 +0200</pubDate>
        </item>
        <item>
        	<title>skkarri on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3650</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3650</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I am trying to edit data in subgrid (grid as subgrid). I am accessing the data using the name of the subgrid and the functions you mentioned. If the same functions are supported, i must be doing something wrong. Will try again.</p>
<p>Thank you,</p>
<p>Suresh</p>
]]></description>
        	        	<pubDate>Mon, 22 Dec 2008 13:13:24 +0200</pubDate>
        </item>
        <item>
        	<title>tony on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3623</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3623</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Do you mean grid as subgrid or pure subgrid? If you are in second case there are no methods to acces data from subgrid.If you are in first case this should work for the subgrid.</p>
<p>Best Regads</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 20 Dec 2008 03:28:52 +0200</pubDate>
        </item>
        <item>
        	<title>skkarri on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3609</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3609</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>Is the code same for sub grid as well. I am having trouble getting it out of a sub grid. It works for the parent grid though.</p>
<p>Thanks,</p>
<p>Suresh</p>
]]></description>
        	        	<pubDate>Thu, 18 Dec 2008 16:41:04 +0200</pubDate>
        </item>
        <item>
        	<title>skkarri on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3603</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3603</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Thanks for the code snippet. That was very helpful.</p>
<p>Now i am able to retrieve the required data.</p>
<p>/Suresh</p>
]]></description>
        	        	<pubDate>Thu, 18 Dec 2008 13:43:32 +0200</pubDate>
        </item>
        <item>
        	<title>tony on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3594</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3594</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Before trying getRowData you should use getDataIDs - something like this</p>
<p>var rids = $("#mygrid").getDataIDs(); // this give you all ids in grid</p>
<p>for(var i=0;i&#60;rids.length;i++) {</p>
<p>var currentrow = $("#mygrid").getRowData(rids[i]);</p>
<p>// here your code to appent currentrow in array</p>
<p>}</p>
<p>Hope this helps</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 18 Dec 2008 06:42:45 +0200</pubDate>
        </item>
        <item>
        	<title>skkarri on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3590</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3590</guid>
        	        	<description><![CDATA[<div id="post3586">
<p>Hi,</p>
<p>Thanks again for the prompt response.</p>
<p>1. I was thinking there is a temporary object which stores the data in the grid along with changed data. That would allow sorting without saving the data.</p>
<p>I will use your suggestion&#160;on using eventbeforeSortCol to disable sorting upon edit.</p>
<p>2. I tried the getRowData method, but i don&#39;t seem to get any data back. Is there a working example posted anywhere in the demos?</p>
<p>3. Thanks. Will use it.</p>
<p>Glad to be using your widget,</p>
<p>Suresh</p>
</div>
]]></description>
        	        	<pubDate>Wed, 17 Dec 2008 13:33:50 +0200</pubDate>
        </item>
        <item>
        	<title>tony on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3586</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3586</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>1. It is very natural that the data must be saved first and then perform the sort. otherwiese what you recommend to do? Also this is a idea to add a event beforeSortCol - if this event return true we can sort otherwiese no. This will solve meybe your problem.</p>
<p>4. The array structure is:</p>
<p>result = [ {id:rowid1, name1:value11....},</p>
<p>{id:rowid2, name1:value21....},</p>
<p>...</p>
<p>]</p>
<p>where the name is the name from colModel</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 17 Dec 2008 11:41:28 +0200</pubDate>
        </item>
        <item>
        	<title>skkarri on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3576</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3576</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Thank you for the response. Let me clarify below on my issues</p>
<p>1. I would like to sort my data. However if i edit my data in the cell, i would like to retain the new data in my grid. Clicking on the column heading refreshes the data back to the original data and then sorts the data causing loss of my changed data</p>
<p>2. Will try the methods. thanks</p>
<p>3. ok</p>
<p>4. The description of the array is not clear to me. An example will help. Is the array structure a name value pair like [row_id, field_name, value].</p>
<p>Thank you once again,</p>
<p>Suresh</p>
]]></description>
        	        	<pubDate>Tue, 16 Dec 2008 14:18:06 +0200</pubDate>
        </item>
        <item>
        	<title>tony on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3564</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3564</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>1. What you mean with stop/refresh when sort. Data is sorted according</p>
<p>to the rules of sorting. If you do not wnant to sort, then you can</p>
<p>disable this.</p>
<p>2. Use the following methods - getDataIDs and getRowData methods</p>
<p>for this purpose.</p>
<p>3. Yes this is true. Will be supported in next releases.</p>
<p>4. As described in the documentation:</p>
<p>"Returns an array of the changed cells depending on method (string, default &#39;all&#39;). When &#39;all&#39; this method returns all the changed rows; when &#39;dirty&#39; returns only the changed cells with the id of the row"</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 16 Dec 2008 02:50:53 +0200</pubDate>
        </item>
        <item>
        	<title>skkarri on inline editing with local array and row edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3479</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-with-local-array-and-row-edit#p3479</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I am tyring to setup a grid with data manipulation on the client using a local array. Any help with the following will be appreciated, as i don&#39;t seem to get it working or find any examples of the same.</p>
<p>1. Stop refresh/restore of the changed data on clicking on sort<br />2. Save changed data to local array<br />3. editRow does not seem to mark dirty cells as do inline editing of single cells using cellEdit: true<br />4. What is the structure of the return from getChangedCells(&#39;all&#39;);</p>
<p>Thank you,</p>
<p>Suresh</p>
]]></description>
        	        	<pubDate>Fri, 12 Dec 2008 00:10:24 +0200</pubDate>
        </item>
</channel>
</rss>