<?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: replace the alert</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/replace-the-alert</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/replace-the-alert/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>elie on replace the alert</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22300</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22300</guid>
        	        	<description><![CDATA[<p>Dear Oleg,</p>
<p>Thank you for all these usefull examples. They helped me a lot</p>
<p>it is working now with&#160;&#160;jqGrid 3.8</p>
<p>Thanks again for your time</p>
</p>
<p>Regards,</p>
<p>Elie</p>
]]></description>
        	        	<pubDate>Thu, 03 Mar 2011 14:13:05 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on replace the alert</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22260</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22260</guid>
        	        	<description><![CDATA[<p>I searched in my collection of different demos and fould two examples</p>
<p><a href="http://www.ok-soft-gmbh.com/jqGrid/CustomFormEdit2.htm" target="_blank">The first example</a>&#160;use jqGrid 3.7.2. If you clich on the last custom button on the navigator if no row selected you will see warning dialog which are produced with respect of <strong>viewModal</strong>.</p>
<p>In <a href="http://www.ok-soft-gmbh.com/jqGrid/ViewModal.htm" target="_blank">the next example</a>&#160;which use jqGrid 3.8.2 you should confirm twice the "loadComplete is called" message and then click on the "Search" button. If no row selected in the grid you will display warning message with respect of <strong>$.jgrid.viewModal</strong>.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Tue, 01 Mar 2011 15:12:31 +0200</pubDate>
        </item>
        <item>
        	<title>elie on replace the alert</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22259</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22259</guid>
        	        	<description><![CDATA[<p>Thanks again&#160;Oleg for your reply</p>
</p>
<p>i tried to use <strong>viewModal</strong> instead of <strong>$.jgrid.viewModal</strong> but nothing happens&#160;when i click the button.</p>
<p>i will download jqGrid 3.8.2 soon and i will see what will happen</p>
</p>
<p>Best Regards</p>
<p>Elie</p>
]]></description>
        	        	<pubDate>Tue, 01 Mar 2011 14:49:37 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on replace the alert</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22258</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22258</guid>
        	        	<description><![CDATA[<p>Hi Elie,</p>
<p>In the previous my post I made typing error. In all old versions before 3.8.2&#160;(inclusive 3.8.1, 3.8) the viewModal was&#160;<strong>global</strong>&#160;function not in the namespace&#160;<strong>$.jgrid</strong>. You wrote that you use 3.8, so you should either download jqGrid 3.8.2 which contain many bug fixes and some new features (see <a href="/jqgridwiki/doku.php?id=wiki:change" target="_blank">here</a>) or use <strong>viewModal</strong> instead of <strong>$.jgrid.viewModal</strong>.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Tue, 01 Mar 2011 14:22:34 +0200</pubDate>
        </item>
        <item>
        	<title>elie on replace the alert</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22256</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22256</guid>
        	        	<description><![CDATA[<p>Dear Oleg&#160;</p>
<p>i am using the 3.8 version and i have all modules in&#160;&#160;jquery.jqGrid.min.js</p>
<p>i think the problem now is from my side because when i click the button&#160; nothing happens but the message " $.jgrid.viewModal is not a function " is gone.</p>
<p>i will try to find what&#39;s wrong.</p>
<p>Thank you very much</p>
</p>
<p>Regards,</p>
<p>Elie</p>
]]></description>
        	        	<pubDate>Tue, 01 Mar 2011 13:07:30 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on replace the alert</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22255</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22255</guid>
        	        	<description><![CDATA[<p>The message "<em>... is not a function</em>" means that you not included jqGrid module during the downloading of the jqGrid. You should open <strong>jquery.jqGrid.min.js</strong>, search at the begining of the file for "<em>Modules:</em>"&#160;and you the file grid.common.js must be inside.</p>
<p>Moreover I suppose that you use jqGrid version 3.8.2. In some more old versions (inclusive 3.8.2) the viewModal was <strong>global</strong> function not in the namespace <strong>$.jgrid</strong>. So in previous version you should use <strong>viewModal</strong> instead of <strong>$.jgrid.viewModal</strong>.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Tue, 01 Mar 2011 12:14:28 +0200</pubDate>
        </item>
        <item>
        	<title>elie on replace the alert</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22254</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22254</guid>
        	        	<description><![CDATA[<p>Thank you very much for your answer</p>
</p>
<p>but i still have this problem&#160; : $.jgrid.viewModal <span style="text-decoration: underline;">is</span> not a function</p>
<p>i added :</p>
<p align="left">else{</p>
<p align="left">$.jgrid.viewModal("#alertmod",{gbox:"#gbox_delgrid",jqm:true});</p>
<p align="left">$("#jqg_alrt").focus();</p>
<p>}</p>
<p><span>&#160;</span><span style="font-size: x-small;"><span id="_marker">&#160;</span></span></p>
<p>i am missing something ??</p>
</p>
<p><span style="color: #0000ff; font-size: x-small;"></span></p>
]]></description>
        	        	<pubDate>Tue, 01 Mar 2011 11:56:34 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on replace the alert</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22253</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22253</guid>
        	        	<description><![CDATA[<p>Hello <strong>elie,</strong></p>
<p>Look at code of the <a href="http://stackoverflow.com/questions/4996538/set-jqgrid-edit-options-via-setgridparam/4997393#4997393" target="_blank">the answer</a> where I showen how the $.jgrid.viewModal method can be used to show the same message like jqGrid do <a href="https://github.com/tonytomov/jqGrid/blob/master/js/grid.formedit.js#L1720" target="_blank">in the navigator</a>.</p>
<p>Best regards<br />Oleg</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;"><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: &#39;Times New Roman&#39;; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif; font-size: 14px; line-height: 17px; text-align: left;"></p>
<pre class="default prettyprint" style="margin: 0px 0px 10px; padding: 5px; border-width: 0px; font-size: 14px; vertical-align: baseline; background-color: #eeeeee; font-family: Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif; overflow: auto; width: auto; max-height: 600px;"><p><input type='button' class='sfcodeselect' name='sfselectit4345' value='Select Code' data-codeid='sfcode4345' /></p><div class='sfcode' id='sfcode4345'><span class="pln" style="margin: 0px; padding: 0px; border-width: 0px; font-size: 14px; vertical-align: baseline; background-color: transparent; color: #000000;">$</span><span class="pun" style="margin: 0px; padding: 0px; border-width: 0px; font-size: 14px; vertical-align: baseline; background-color: transparent; color: #000000;">.</span><span class="pln" style="margin: 0px; padding: 0px; border-width: 0px; font-size: 14px; vertical-align: baseline; background-color: transparent; color: #000000;">jgrid</span><span class="pun" style="margin: 0px; padding: 0px; border-width: 0px; font-size: 14px; vertical-align: baseline; background-color: transparent; color: #000000;">.</span><span class="pln" style="margin: 0px; padding: 0px; border-width: 0px; font-size: 14px; vertical-align: baseline; background-color: transparent; color: #000000;">viewModal</span></div></pre>
</p>
<p></span></span></div>
]]></description>
        	        	<pubDate>Tue, 01 Mar 2011 10:44:58 +0200</pubDate>
        </item>
        <item>
        	<title>elie on replace the alert</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22252</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/replace-the-alert#p22252</guid>
        	        	<description><![CDATA[<p>hi</p>
<p>&#160;i am using the code below&#160;to delete a row everything is fine but i want to know if i can replace the alert&#160; with the warning that appears when i click on delete from the navigator</p>
</p>
<p>$("#dedata").click(function(){</p>
<p>var gr = jQuery("#delgrid").jqGrid(&#39;getGridParam&#39;,&#39;selrow&#39;);</p>
<p>&#160;if( gr != null ) jQuery("#delgrid").jqGrid(&#39;delGridRow&#39;,gr,{reloadAfterSubmit:false});</p>
<p>else <strong>alert</strong>("Please Select Row to delete!"); });</p>
</p>
<p>Thanks for help</p>
]]></description>
        	        	<pubDate>Tue, 01 Mar 2011 10:19:30 +0200</pubDate>
        </item>
</channel>
</rss>