<?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: Need help with modal alert and selected row before showing edit form.</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/need-help-with-modal-alert-and-selected-row-before-showing-edit-form</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/need-help-with-modal-alert-and-selected-row-before-showing-edit-form/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>palobo on Need help with modal alert and selected row before showing edit form.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/need-help-with-modal-alert-and-selected-row-before-showing-edit-form#p3265</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/need-help-with-modal-alert-and-selected-row-before-showing-edit-form#p3265</guid>
        	        	<description><![CDATA[<p>Back again just to say thanks Tony. That did the trick.</p>
<p>With a bit more time I will look into jqModal a little more and hopefully will be able to harness it&#39;s power alongside jqGrid&#39;s 😉</p>
<p>Cheers,</p>
<p>P.</p>
]]></description>
        	        	<pubDate>Tue, 25 Nov 2008 09:58:41 +0200</pubDate>
        </item>
        <item>
        	<title>palobo on Need help with modal alert and selected row before showing edit form.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/need-help-with-modal-alert-and-selected-row-before-showing-edit-form#p3255</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/need-help-with-modal-alert-and-selected-row-before-showing-edit-form#p3255</guid>
        	        	<description><![CDATA[<p>Thanks for the quick reply Tony. I will try that out tonight.</p>
<p>Unfortunately for this current project I&#39;m on a tight deadline and therefore cannot explore as much as I would like, but I have another project waiting and will be hopefully using jqGrid extensively.</p>
<p>I will post back on that project later with some fun things for newcommers like me. (Just to make the learning cureve less steep 😉 )</p>
<p>Cheers,<br />P.</p>
]]></description>
        	        	<pubDate>Tue, 25 Nov 2008 06:45:17 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Need help with modal alert and selected row before showing edit form.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/need-help-with-modal-alert-and-selected-row-before-showing-edit-form#p3248</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/need-help-with-modal-alert-and-selected-row-before-showing-edit-form#p3248</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The alert modal is created only once and you can use the every time</p>
<p>you want. The id is alertmod. Something like</p>
<p>in afterShowForm event</p>
<p>var masterid = $(&#8221;#master&#8221;).getGridParam(&#8221;selrow&#8221;)</p>
<p>if(masterid == null ){</p>
<p>// the editing modal is combination of editmod + id of the grid</p>
<p>// suppose you have detailgrid with detail id then</p>
<p>$(&#8221;#editmoddetail&#8221;).jqmHide();</p>
<p>ViewModal(&#8221;#alertmod&#8221;);</p>
<p>}</p>
<p>Or a better way is to define custom buttons and handle this logic.</p>
<p>without using afterShowForm</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 25 Nov 2008 01:08:37 +0200</pubDate>
        </item>
        <item>
        	<title>palobo on Need help with modal alert and selected row before showing edit form.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/need-help-with-modal-alert-and-selected-row-before-showing-edit-form#p3238</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/need-help-with-modal-alert-and-selected-row-before-showing-edit-form#p3238</guid>
        	        	<description><![CDATA[<p>Hi all.</p>
<p>Back with another question. Even though the title practically says it all, here goes a description of what i need to do.</p>
<p>I&#39;m implementing something similar to the master/detail demo however with the ability to add/edit records. I have a check in place to see if a user has selected a row in the master grid before adding a new record in the detail grid.</p>
<p>Currently, I have an alert in place warning that a row was not selected. I would like however to implemente something similar to the modal dialogue along the lines of what happens when we don&#39;t select a row before editing. In other words, display the modal alert and cancel the add action.</p>
<p>Thanks for any help.</p>
<p>Cheers,<br />P.</p>
]]></description>
        	        	<pubDate>Mon, 24 Nov 2008 16:58:37 +0200</pubDate>
        </item>
</channel>
</rss>