<?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: Adding timepickr to Edit Form</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-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/discussion/adding-timepickr-to-edit-form/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Cael on Adding timepickr to Edit Form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p14762</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p14762</guid>
        	        	<description><![CDATA[<p>Thanks Tony, that worked!</p>
</p>
<p>Cael</p>
]]></description>
        	        	<pubDate>Fri, 12 Feb 2010 18:31:02 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Adding timepickr to Edit Form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p14748</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p14748</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Please refer here:</p>
<p><a href="http://www.trirand.com/blog/?page_id=393/help/problem-with-datepicker-on-navigator/&#038;value=settimeout&#038;type=1&#038;include=1&#038;search=1" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....8;search=1</a></p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 12 Feb 2010 15:04:06 +0200</pubDate>
        </item>
        <item>
        	<title>Cael on Adding timepickr to Edit Form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p14734</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p14734</guid>
        	        	<description><![CDATA[<p>BTW, I was reading the <a href="/jqgridwiki/doku.php?id=wiki:common_rules&#38;s[]=editoptions" target="_blank">documentation</a> when I got the following [about the dataInit function]:</p>
<p>"(&#8230;) This is ideal way of attaching datepicker, <strong>timepicker </strong>and other."</p>
</p>
<p>As you have noticed in my last comment, it didn&#39;t work for me&#8230; <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_sad.gif" alt=":-(" /></p>
<p><strong>EDIT</strong>: I am using the latest version [3.6.3] w/ multiselect</p>
<p>Am I missing something here? Do you have any suggestion about using some plugins [timepicker, at least] in inline edit? Do you plan to add another function that gives the element already in the DOM?</p>
</p>
<p>Thanks and congrats for this amazing plugin.</p>
<p>Cael</p>
]]></description>
        	        	<pubDate>Thu, 11 Feb 2010 22:37:24 +0200</pubDate>
        </item>
        <item>
        	<title>Cael on Adding timepickr to Edit Form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p14728</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p14728</guid>
        	        	<description><![CDATA[<p>Hi Tony</p>
</p>
<p>Is there any chance to add the timepickr plugin in "inline editing" mode? I may be wrong, but the onInitializeForm is only trigged when you&#39;re using the Edit Window &#8211; opened by a click in a nav button.</p>
</p>
<p>As I was using the inline cell editing, I thought it would be easier to check with you if there&#39;s any update on this issue.</p>
]]></description>
        	        	<pubDate>Thu, 11 Feb 2010 19:03:20 +0200</pubDate>
        </item>
        <item>
        	<title>markalanevans on Adding timepickr to Edit Form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p10476</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p10476</guid>
        	        	<description><![CDATA[<p>Thanks Tony!&#160; That was exactly the isssue. I added the code like you said:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1290' value='Select Code' data-codeid='sfcode1290' /></p>
<div class='sfcode' id='sfcode1290'>
<p>.navGrid(<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;#s3pager&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {&#160;&#160;&#160; edit:true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; add:false,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; del:false,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; search:false,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; refresh:true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; toggle:false,<br />&#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;&#160; editCaption:"Edit Event Details",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width:500,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jqModal:true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; closeOnEscape:true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; bSumbit:"Submit",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; savekey:[true,13],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; savekeys:[true,38,40],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <span style="color: #ff0000;">onInitializeForm : function(formid){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $("#time_start",formid).timepickr();<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }</span><br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; )</p>
</div>
<p>And Voila! it worked.</p>
</p>
<p>Thanks so much!</p>
<p>-Mark</p>
]]></description>
        	        	<pubDate>Tue, 06 Oct 2009 11:24:16 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Adding timepickr to Edit Form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p10435</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p10435</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Some plugins require that the element should be into the DOM in order to work correct.</p>
<p>Since dataInit is applied not when the element is into the DOM, this maybe will not work.</p>
<p>The same will be if you try to use a jQuery UI datepicker with the option to show a calendar image.</p>
<p>(I will see in other releases how to correct this "bug").</p>
<p>In order to resolve your problem I recommend you to use the onInitilazeForm event:</p>
<p>The code cal look like this:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit222' value='Select Code' data-codeid='sfcode222' /></p>
<div class='sfcode' id='sfcode222'>
<p>onInitializeForm : function(formid)</p>
<p>{</p>
<p>$("#time_start",formid).timepickr();</p>
<p>}</p>
</div>
<p>Reagrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 06 Oct 2009 05:47:32 +0300</pubDate>
        </item>
        <item>
        	<title>markalanevans on Adding timepickr to Edit Form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p10427</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/adding-timepickr-to-edit-form#p10427</guid>
        	        	<description><![CDATA[<p>I would like to use timepickr : <a href="http://haineault.com/media/jquery/ui-timepickr/page/&#160;&#038;nbsp" rel="nofollow" target="_blank"><a href="http://haineault.com/media/jqu" rel="nofollow">http://haineault.com/media/jqu</a>.....&#038;nbsp</a>; when using the form editor.&#160;</p>
</p>
<p>But for some reason it won&#39;t bind to the form field.&#160;&#160;&#160;&#160;&#160;</p>
</p>
<p>if i create another input text elsewhere on the page(ie not a part of the Modal Form)&#160; and give it an id of "testtime" and then ("#testtime").timepickr(); &#160; From within &#160; dataInit: ... The binding occurs... Its just not happening on the Edit Form.</p>
</p>
<p>Is there something i should know?</p>
</p>
<p>Current Code snippet, that doesn&#39;t work.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2633' value='Select Code' data-codeid='sfcode2633' /></p>
<div class='sfcode' id='sfcode2633'>{<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; name:&#39;time_start&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; index:&#39;time_start&#39;, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width:45,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; editable:true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; editoptions:{<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; dataInit:function(el){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(el).timepickr();<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; } </p>
<p>&#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;&#160; &#160;&#160;&#160; hidden:true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; editrules:{<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; edithidden:true<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;&#160; }</p>
</div>
]]></description>
        	        	<pubDate>Tue, 06 Oct 2009 01:09:07 +0300</pubDate>
        </item>
</channel>
</rss>