<?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: jqGrid client-side data manipulation example.....</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-client-side-data-manipulation-example</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/help/jqgrid-client-side-data-manipulation-example/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on jqGrid client-side data manipulation example.....</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-client-side-data-manipulation-example#p13739</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-client-side-data-manipulation-example#p13739</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The getCahngedCells is able to work only in celEdit mode. It appears that you use inline editing, where this method is not applicable.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 10 Jan 2010 12:37:27 +0200</pubDate>
        </item>
        <item>
        	<title>JeffDrummond on jqGrid client-side data manipulation example.....</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-client-side-data-manipulation-example#p13672</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-client-side-data-manipulation-example#p13672</guid>
        	        	<description><![CDATA[<p>Hello:</p>
</p>
<p>I have added functionality to add, change and delete rows in the jqGrid in my jQuery dialog.</p>
<p>However, using the getChangedCells method continually returns an empty array.&#160; Please</p>
<p>take a look at my grid and tell me what I am missing.&#160; Thanks.</p>
</p>
<p><span style="font-size: x-small; color: #008000;"><span style="font-size: x-small; color: #008000;"></span></span></p>
<p>// Repairs grid definition.</p>
<p><span style="font-size: x-small;"></span></p>
<p>$(&#8221;#repairsGrid&#8221;).jqGrid({</p>
<p>url:&#8221;../Controllers/GridController.aspx&#8221;,</p>
<p>datatype: &#39;json&#39;,</p>
<p>mtype: &#39;GET&#39;,</p>
<p>colNames:columnNames,</p>
<p>colModel:columnModel,</p>
<p>sortname: &#39;status&#39;,</p>
<p>jsonReader: {</p>
<p>root: &#8220;rows&#8221;,</p>
<p>page: &#8220;page&#8221;,</p>
<p>total: &#8220;total&#8221;,</p>
<p>records: &#8220;records&#8221;,</p>
<p>repeatitems:</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">false</span></span></p>
<p><span style="font-size: x-small;">,</span></p>
<p>id: &#8220;tir_tir_key&#8221;</p>
<p>},</p>
<p>rowNum:10,</p>
<p>rowList:[10,20,30],</p>
<p>loadonce:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">true</span></span></p>
<p><span style="font-size: x-small;">,</span></p>
<p>loadui: &#8220;disable&#8221;,</p>
<p>viewrecords:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">true</span></span></p>
<p><span style="font-size: x-small;">,</span></p>
<p>multiselect:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">false</span></span></p>
<p><span style="font-size: x-small;">,</span></p>
<p>pgbuttons:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">false</span></span></p>
<p><span style="font-size: x-small;">,</span></p>
<p>pgtext: &#8220;&#8221;,</p>
<p>altRows:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">true</span></span></p>
<p><span style="font-size: x-small;">,</span></p>
<p>height: 200,</p>
<p>width: 550,</p>
<p>shrinkToFit:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">true</span></span></p>
<p><span style="font-size: x-small;">,</span></p>
<p>caption: &#8220;Repairs&#8221;,</p>
<p>imgpath: imgPath,</p>
<p>onSelectRow: onSelectRowGrid,</p>
<p>cellEdit:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">false</span></span></p>
<p><span style="font-size: x-small;">,</span></p>
<p>cellsubmit: &#39;clientArray&#39;,</p>
<p>editurl: &#8220;server.aspx&#8221;,</p>
<p>gridComplete:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">function</span></span></p>
<p><span style="font-size: x-small;">(){ <br /></span></p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">var</span></span></p>
<p><span style="font-size: x-small;">ids = jQuery(&#8221;#repairsGrid&#8221;).jqGrid(&#39;getDataIDs&#39;); <br /></span></p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">for</span></span><span style="font-size: x-small;">(</span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">var</span></span></p>
<p><span style="font-size: x-small;">i=0;i &#60; ids.length;i++){ <br /></span></p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">var</span></span></p>
<p><span style="font-size: x-small;">cl = ids[i];</span></p>
<p>de = &#8220;&#60;input style=&#39;height:22px;width:25px;&#39; type=&#39;button&#39; value=&#39;Del&#39; onclick=\\&#8221;jQuery(&#39;#repairsGrid&#39;).delRowData(&#39;&#8221;+cl+&#8221;&#39;);\\&#8221; /&#62;&#8221;;</p>
<p>jQuery(&#8221;#repairsGrid&#8221;).jqGrid(&#39;setRowData&#39;,ids[i],{act:de});</p>
<p>}</p>
<p>}</p>
<p>});</p>
</p>
<p><span style="font-size: x-small; color: #008000;"><span style="font-size: x-small; color: #008000;">// eof repairsGrid definition </span></span></p>
]]></description>
        	        	<pubDate>Thu, 07 Jan 2010 22:34:07 +0200</pubDate>
        </item>
        <item>
        	<title>JeffDrummond on jqGrid client-side data manipulation example.....</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-client-side-data-manipulation-example#p13658</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-client-side-data-manipulation-example#p13658</guid>
        	        	<description><![CDATA[<p>I am opening a jquery dialog with a jqGrid and initially populating</p>
<p>the grid with data from my controller.&#160; This works fine.</p>
<p>I cannot use a pager with my grid, rather I have add and delete buttons</p>
<p>in a bar at the top of the grid.</p>
</p>
<p>Can someone point me to a grid example which includes code for</p>
<p>adding empty rows, editing those rows, deleting rows and saving</p>
<p>everything to the database in one transaction.</p>
</p>
<p>In my save function, I know how to gather information from the</p>
<p>grid and send it to my controller.&#160; I&#39;m most interested in the adding and editing</p>
<p>function, plus how to identify those rows deleted from the grid.</p>
</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Thu, 07 Jan 2010 20:40:29 +0200</pubDate>
        </item>
</channel>
</rss>