<?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: Steps to update a table after edit = ?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/steps-to-update-a-table-after-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/help/steps-to-update-a-table-after-edit/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>thlas77 on Steps to update a table after edit = ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/steps-to-update-a-table-after-edit#p19773</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/steps-to-update-a-table-after-edit#p19773</guid>
        	        	<description><![CDATA[<p>I can&#39;t think that nobody uses the add/update with a form...</p>
<p>Please, just few words could help me to start...</p>
<p>Thanks</p>
<p>Thierry</p>
]]></description>
        	        	<pubDate>Tue, 14 Sep 2010 10:07:11 +0300</pubDate>
        </item>
        <item>
        	<title>thlas77 on Steps to update a table after edit = ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/steps-to-update-a-table-after-edit#p19714</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/steps-to-update-a-table-after-edit#p19714</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I feel a little bit lost using jqgrid to save data modified with an edit form.</p>
<p>I work with joomla. I&#39;m a beginner with jquery, ajax (that&#39;s why I&#39;m lost !!). Despite of reading a lot of web pages about the topic, I don&#39;t know how to process ...I hope my english is not to bad and that you will understand my need.</p>
<p>So, my problem is :</p>
<p>I have a grid, I select a row, a form is displayed with some of the fields + 2 new ones =&#62; that&#39;s ok.1</p>
<p>What I want to do on the form is :</p>
<p>Enter a number of credits in field 1 + debit (or credit) in field 2.</p>
<p>When I click on save, I want to :</p>
<p>1) Calculate the new value for credits (add/subtract field 1 to the field &#39;previous credits&#39;)</p>
<p>2) Update the DB with this new value for the selected row.</p>
<p>3) Insert a row in another table (log) to track the operation.</p>
<p>4) Display a message (ok/nok) + Refresh the grid with the new credit value</p>
<p>I don&#39;t know how to start...</p>
<p>What function should I have to invoke first ?</p>
<p>Should the keyword &#39;editurl&#39; be equal to the path/name of my model which contains the update order ? If the insert order is in another model, how to do ? How to call the function update_table and send the data needed to these models ?</p>
<p>The update will be done via ajax, how to do to make it secure ?</p>
<p>If someone had a full example to share (or links), it will be nice !</p>
<p>Thanks a lot for you help</p>
<p>Thierry</p></p>
]]></description>
        	        	<pubDate>Sat, 11 Sep 2010 18:09:27 +0300</pubDate>
        </item>
</channel>
</rss>