<?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: how can I integrate a datetimepicker to jqgrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid</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/how-can-i-integrate-a-datetimepicker-to-jqgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jnavratil on how can I integrate a datetimepicker to jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p5058</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p5058</guid>
        	        	<description><![CDATA[<p>I was able to get this working within the grid, but not within the &#39;add&#39; input form.&#160; The code is...</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; navGrid("#pager",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {refresh: true, edit: false, add: true, del: true, search: true},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {beforeSubmit: function() { alert(&#39;before edit submit&#39;); } }, // edit<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; { // add<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; beforeSubmit: function() { alert(&#39;before add submit&#39;); return true;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; onInitializeForm : function(formid) {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#invdate",formid).datePicker({</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; dateFormat:"yymmdd",<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; clickInput:true,<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; createButton:false,<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; startDate:&#39;2000-01-02&#39;}).<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; addClass(&#39;date-pick&#39;);&#160;&#160;&#160; // Mark grid&#39;s date fields<br />&#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; },<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; { // delete<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; beforeSubmit: function() { alert(&#39;before delete submit&#39;); } <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; );</p>
</p>
<p>Firebug tells me the input is....</p>
<p><span class="nodeLabelBox repTarget">&#60;<span class="nodeTag">input</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">id</span>="<span class="nodeValue editable">invdate</span>"</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">class</span>="<span class="nodeValue editable">dp-applied editable date-pick</span>"</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">type</span>="<span class="nodeValue editable">text</span>"</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">name</span>="<span class="nodeValue editable">invdate</span>"</span><span class="nodeBracket editable insertBefore">/&#62;</span></span></p>
<p>which is substantially similar to the working...</p>
<p><span class="nodeLabelBox repTarget">&#60;<span class="nodeTag">input</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">id</span>="<span class="nodeValue editable">1_invdate</span>"</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">class</span>="<span class="nodeValue editable">editable dp-applied date-pick</span>"</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">type</span>="<span class="nodeValue editable">text</span>"</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">style</span>="<span class="nodeValue editable">width: 98%;</span>"</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">name</span>="<span class="nodeValue editable">invdate</span>"</span><span class="nodeBracket editable insertBefore">/&#62;</span></span></p>
<p>The input behaves as if the event is not firing.&#160; Clicking on the field performs no action.&#160; Can you think of any reason why this works on the inline edit, but not in the form?</p>
<p>Thanks!</p></p>
]]></description>
        	        	<pubDate>Mon, 02 Mar 2009 13:02:28 +0200</pubDate>
        </item>
        <item>
        	<title>kshfi on how can I integrate a datetimepicker to jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p4606</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p4606</guid>
        	        	<description><![CDATA[<p>I have used <br /><a href="http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/" rel="nofollow" target="_blank"><a href="http://www.kelvinluck.com/asse" rel="nofollow">http://www.kelvinluck.com/asse</a>.....r/v2/demo/</a></p>
<p>You need</p>
<pre>datePicker.css
date.js
calendar.png
query.datePicker.js
</pre>
<p>from that page. Ex. if you have edit line in grid then</p>
<p>&#8230; grid config:<br />onSelectRow: function(id, selected){<br /> if(id &#38;&#38; id!=lastsel){<br /> jQuery(&#39;#navgrid&#39;).restoreRow(lastsel);<br /> jQuery(&#39;#navgrid&#39;).editRow(id,true,fldevent);<br /> lastsel=id;<br /> }<br /> },<br />&#8230;<br />// datepicker event<br />function fldevent(id){<br /> // if you like to ui.datepicker<br /> //jQuery(&#8221;#&#8221;+id+&#8221;_changedate&#8221;,&#8221;#navgrid&#8221;).datepicker(<br /> //&#160;&#160;&#160; {dateFormat:"yymmdd"});</p>
<p>// I like this - locale support and calendar popup only after click symbol:<br /> $.dpText = {<br /> HEADER_FORMAT		:	&#39;yyyy/mm&#39;,<br /> TEXT_PREV_YEAR		:	&#39;Edellinen vuosi &#39;,<br /> TEXT_PREV_MONTH		:	&#39;Edellinen kk&#39;,<br /> TEXT_NEXT_YEAR		:	&#39;Seuraava vuosi&#39;,<br /> TEXT_NEXT_MONTH		:	&#39;Seuraava kk&#39;,<br /> TEXT_CLOSE			:	&#39;Sulje&#39;,<br /> TEXT_CHOOSE_DATE	:	&#39;Valitse pv&#39;<br /> }</p>
<p> // add special class to the grid&#39;s date fields (ex. changedate)<br /> $(&#8221;#&#8221;+id+&#8221;_changedate&#8221;).addClass(&#39;date-pick&#39;);<br /> // and bind the event to the class<br /> $(&#39;.date-pick&#39;).datePicker();</p>
<p>}</p>
<p>Jukka</p>
]]></description>
        	        	<pubDate>Fri, 13 Feb 2009 12:12:08 +0200</pubDate>
        </item>
        <item>
        	<title>jnavratil on how can I integrate a datetimepicker to jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p4592</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p4592</guid>
        	        	<description><![CDATA[<p>Would you mind sending the demo to me?</p>
<p>john(dot)navratil(at)sbcglobal(dot)net</p>
]]></description>
        	        	<pubDate>Thu, 12 Feb 2009 14:47:21 +0200</pubDate>
        </item>
        <item>
        	<title>htantran on how can I integrate a datetimepicker to jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p4480</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p4480</guid>
        	        	<description><![CDATA[<p>Thanks Murdoc,</p>
<p>My email: <a href="mailto:htantran@gmail.com" target="_blank">htantran@gmail.com</a></p>
]]></description>
        	        	<pubDate>Fri, 06 Feb 2009 11:16:00 +0200</pubDate>
        </item>
        <item>
        	<title>murdoc on how can I integrate a datetimepicker to jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p4437</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p4437</guid>
        	        	<description><![CDATA[<p>I have the demo ,tell me your email, sent to you.</p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 20:38:37 +0200</pubDate>
        </item>
        <item>
        	<title>htantran on how can I integrate a datetimepicker to jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p4432</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-can-i-integrate-a-datetimepicker-to-jqgrid#p4432</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I can see how good it is when you integrate ui.datepicker into inline edit as well as gird form.</p>
<p>My concern is that: it seems jqgrid does not integrate with ui.datetimepicker?</p>
<p>Question: how can I integrate a datetimepicker to jqgrid? If it&#39;s possible,&#160;would you give me a recommendation which library should I use for this? A demo will be extremely good.</p>
</p>
<p>Thanks,</p>
<p>Tan</p></p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 18:31:27 +0200</pubDate>
        </item>
</channel>
</rss>