<?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: customize the form Edit Dialog </title>
	<link>http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog</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/customize-the-form-edit-dialog/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Liton on customize the form Edit Dialog </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p15966</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p15966</guid>
        	        	<description><![CDATA[<p>I found a way to change the layout of the edit dialog box form&#160;the way I want.&#160;I use jqgrid.editform.js plugin and change the function "createData" at page around 600. I collect all of the trdata and assing them in some temp variables like<span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;"></span></span></p>
<p>if</p>
</p>
<p><span style="font-size: x-small;"> (obj.p.colNames[i] === </span><span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;">&#39;A&#39;</span></span><span style="font-size: x-small;">) {</span></p>
<p>A= trdata.html();</p>
<p>}</p>
</p>
<p><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;">else</span></span><span style="font-size: x-small;"> </span><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;">if</span></span><span style="font-size: x-small;"> (obj.p.colNames[i] === </span><span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;">&#39;B&#39;</span></span><span style="font-size: x-small;">) {</span></p>
<p>B= trdata.html();</p>
<p>}</p>
<p>after that just create the long html strings and put your variables in the places you want .</p>
<p><span style="color: #008000; font-size: x-small;"><span style="color: #008000; font-size: x-small;"></span></span></p>
<p>var xx=&#60;tr&#62;&#60;td&#62;&#60;table&#62;&#60;tr&#62;&#60;td&#62;&#60;fieldset&#62;&#60;legend&#62;Your Message&#60;/legend&#62;&#60;table&#62;&#60;tr&#62;" +&#160;A +&#160;"&#60;/tr&#62;&#60;tr&#62;&#60;td colspan=&#39;4&#39;&#62;&#60;table&#62;&#60;tr&#62;" + B+ "&#60;/tr&#62;&#60;/table&#62;&#60;/td&#62;&#60;/tr&#62;&#60;tr&#62;&#60;td colspan=&#39;4&#39;&#62;&#60;fieldset&#62;&#60;table&#62;&#60;tr&#62;" + C+ "&#60;/tr&#62;&#60;tr&#62;" +</p>
</p>
<p>$(tb).append(xx);</p>
</p>
<p>I hope this will help</p></p>
]]></description>
        	        	<pubDate>Thu, 25 Mar 2010 19:33:49 +0200</pubDate>
        </item>
        <item>
        	<title>Liton on customize the form Edit Dialog </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p15766</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p15766</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I&#39;m also trying to create a custom form where fields will be group together, use field set and other html tags but end up with no luck.<img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /> I was using the jqgrid.formedit.js</p>
<p>Can you help me or at least point me from where I can start up?</p>
]]></description>
        	        	<pubDate>Wed, 17 Mar 2010 01:13:19 +0200</pubDate>
        </item>
        <item>
        	<title>tony on customize the form Edit Dialog </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p13590</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p13590</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>What you mean with</p>
<p>"Is their any way other than selecting all the tr by id and changing the html ?"</p>
<p>If you want a custom form , you can construct your own and the use FormToGrid and GridToForm methods,</p>
<p>but I do not understand.</p>
<p>Reagrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 06 Jan 2010 09:37:13 +0200</pubDate>
        </item>
        <item>
        	<title>miron caius on customize the form Edit Dialog </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p13561</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p13561</guid>
        	        	<description><![CDATA[<p>I have been trying for a while to change the layout of the edit grid .. but i really need the help. Is their any way other than selecting all the tr by id and changing the html ?</p>
]]></description>
        	        	<pubDate>Tue, 05 Jan 2010 03:48:54 +0200</pubDate>
        </item>
        <item>
        	<title>miron caius on customize the form Edit Dialog </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p13560</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p13560</guid>
        	        	<description><![CDATA[<p>Also here you have the list of events and properties that can be used for this search dialog:</p>
<p><a title="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing" href="/jqgridwiki/doku.php?id=wiki:form_editing" target="_blank"></a><a href="http://www.trirand.com/jqgridw" rel="nofollow" target="_blank">http://www.trirand.com/jqgridw</a>.....rm_editing</p>
]]></description>
        	        	<pubDate>Mon, 04 Jan 2010 23:53:54 +0200</pubDate>
        </item>
        <item>
        	<title>miron caius on customize the form Edit Dialog </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p13559</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p13559</guid>
        	        	<description><![CDATA[<p>Found the solution:</p>
<p>add this code:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit209' value='Select Code' data-codeid='sfcode209' /></p>
<div class='sfcode' id='sfcode209'>jQuery("#navgrid").jqGrid(&#39;navGrid&#39;,&#39;#pagernav&#39;,<br />{edit:true,add:false,del:false, search:false}, //options<br />{ height:360,reloadAfterSubmit:false, top:100, <br />afterShowForm : hookDatePicker }, // edit options</p>
<p>{height:280,reloadAfterSubmit:false}, // add options</p>
<p>{reloadAfterSubmit:false}, // del options</p>
<p>{sopt:[&#39;cn&#39;,&#39;bw&#39;,&#39;eq&#39;,&#39;ne&#39;,&#39;lt&#39;,&#39;gt&#39;,&#39;ew&#39;]} // search options<br />);</p>
</div>
<p>and declare a function to threat the event:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6610' value='Select Code' data-codeid='sfcode6610' /></p>
<div class='sfcode' id='sfcode6610'>function hookDatePicker(formID) <br />{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#register_date").datepicker({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; dateFormat: "dd-mm-yy",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; onSelect: function(dateText, inst) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var grid = jQuery("#&#60;%= JQGrid1.ClientID %&#62;");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#register_date").datepicker(&#39;hide&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //grid.saveRow(formID);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }); <br />}</div></p>
]]></description>
        	        	<pubDate>Mon, 04 Jan 2010 23:52:26 +0200</pubDate>
        </item>
        <item>
        	<title>miron caius on customize the form Edit Dialog </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p13558</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/customize-the-form-edit-dialog#p13558</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The ASP example shows how one can customize the layout of the edit dialog.</p>
<p><a href="http://www.trirand.net/demo.aspx" rel="nofollow" target="_blank">http://www.trirand.net/demo.aspx</a></p>
</p>
<p>How can i customize the layout of this form, and add events for different fields ?</p></p>
]]></description>
        	        	<pubDate>Mon, 04 Jan 2010 23:20:03 +0200</pubDate>
        </item>
</channel>
</rss>