<?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: Setting Caption for Edit Grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid</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/setting-caption-for-edit-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Martin on Setting Caption for Edit Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9154</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9154</guid>
        	        	<description><![CDATA[<p>Ahhhh, ok now I understand....(I think).&#160; So there&#39;s no need to use the formid as passed in?.&#160; Looks good, thanks again.</p>
<p>Martin</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 15:20:29 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Setting Caption for Edit Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9129</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9129</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You call editGridRow twice which IMHO is not good.</p>
<p>In order to change the edit caption dynamically do this:</p>
<p>beforeShowForm : function (formid) {</p>
<p>var mytitle = "My text to show"; // or what you want</p>
<p>$(".ui-jqdialog-title","#edithd"+mygridid).html(mytytle);</p>
<p>}</p>
<p>wher mygrid id is the id of the grid.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 09:55:03 +0300</pubDate>
        </item>
        <item>
        	<title>Martin on Setting Caption for Edit Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9074</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9074</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Thanks for the help.&#160; Maybe I should start at the beginning...</p>
<p>I have a grid, #list1, that I wish to edit using the Form Editing functions on a selected row.</p>
<p>I think I can set the property "topinfo" of the modal edit form using the beforeShowForm event.&#160; I can&#39;t find any documentation *how* to set the topinfo property on the Edit Grid.</p>
</p>
<p>&#160;beforeShowForm:function setTitle(formID) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; alert(&#8221;beforeShowData&#8221;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; formID.editGridRow(&#8221;rowID&#8221;,{topinfo:&#8221;foo&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; },</p>
</p>
<p>Isn&#39;t working, so I&#39;d really like to see an example of a working function that sets the topinfo of a modal edit (or add!) gridform. I&#39;d don&#39;t know if 1) this is the right way to address the new edit form grid, 2) If editgridrow is the right methid to change the property "topinfo"</p>
<p>Thanks</p>
<p>Martin</p>
]]></description>
        	        	<pubDate>Sun, 30 Aug 2009 22:52:03 +0300</pubDate>
        </item>
        <item>
        	<title>MamaliFrenchi on Setting Caption for Edit Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9072</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9072</guid>
        	        	<description><![CDATA[<p>if I understant you correctly you are calling editGridRow(id,{}); in this case you can add it as following:</p>
<p>editGridRow(id,{editCaption: &#39;Edit caption&#39;, afterShowForm: function(){}, etc});</p>
]]></description>
        	        	<pubDate>Sun, 30 Aug 2009 20:43:46 +0300</pubDate>
        </item>
        <item>
        	<title>Martin on Setting Caption for Edit Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9070</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9070</guid>
        	        	<description><![CDATA[<p>I&#39;m trying to set it in the before show form of the edit action.</p>
<p>When the user selects a row of the grid to edt, I want to set either the caption or the top info to the value of a col in the selected row.&#160; Hence the Caption of the edit-form needs to change depending on the selected row.</p>
<p>The documentation says that the edit form ID is passed to the BeforeShow Form, and that the topinfo is passed into the function, and the various attributes are passed as parameters but I can&#39;t figure out how to set them.</p>
<p>Thx</p>
<p>Martin</p>
]]></description>
        	        	<pubDate>Sun, 30 Aug 2009 18:46:31 +0300</pubDate>
        </item>
        <item>
        	<title>MamaliFrenchi on Setting Caption for Edit Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9069</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9069</guid>
        	        	<description><![CDATA[<p>Where did you add the editCaption? if you&#39;re using navgrid(&#39;#pager&#39;,{ edit:true, etc},{editCaption:&#39;New Caption, other properties of edit form},{}//etc should work</p>
]]></description>
        	        	<pubDate>Sun, 30 Aug 2009 15:14:16 +0300</pubDate>
        </item>
        <item>
        	<title>Martin on Setting Caption for Edit Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9067</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9067</guid>
        	        	<description><![CDATA[<p>Thanks but that didn&#39;t work either.&#160; I suspect I&#39;m not addressing the correct grid.&#160; I want to change the title of the Grid that pops up when selecting "Edit" in the Form Edit code.</p>
]]></description>
        	        	<pubDate>Sun, 30 Aug 2009 15:05:44 +0300</pubDate>
        </item>
        <item>
        	<title>MamaliFrenchi on Setting Caption for Edit Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9056</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9056</guid>
        	        	<description><![CDATA[<p>How about&#160; editCaption: &#39;My Captioni&#39;</p>
]]></description>
        	        	<pubDate>Sun, 30 Aug 2009 11:13:16 +0300</pubDate>
        </item>
        <item>
        	<title>Martin on Setting Caption for Edit Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9039</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-caption-for-edit-grid#p9039</guid>
        	        	<description><![CDATA[<p>I have a Grid I&#39;m using Form Edit, and trying to set the caption to something other than&#160; the default &#39;Edit Record&#39;.&#160; So, using beforeShowForm, and the &#8220;Form ID is passed&#8221; theory I thought the format should be:</p>
</p>
<p>&#160;beforeShowForm:function setTitle(formID) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; alert(&#8221;beforeShowData&#8221;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; formID.editGridRow(&#8221;rowID&#8221;,{setCaption:&#8221;foo&#8221;});<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; },</p>
</p>
<p>What should I be using to set the Caption (Or topinfo &#8211; that would be fine too).</p>
</p>
<p>Thanks</p>
<p>Martin</p>
]]></description>
        	        	<pubDate>Sat, 29 Aug 2009 11:41:01 +0300</pubDate>
        </item>
</channel>
</rss>