<?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: Can't get datepicker to post after selecting a date</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date</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/cant-get-datepicker-to-post-after-selecting-a-date/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Can't get datepicker to post after selecting a date</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13908</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13908</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think that this is a datepicker configuration. Try to put just ...datepicker() without any options and see the result.</p>
<p>(Sometime i have this&#160;behavior&#160;and the solution was that I have set bad configurations to datepicker)</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 14 Jan 2010 21:05:57 +0200</pubDate>
        </item>
        <item>
        	<title>mchojrin on Can't get datepicker to post after selecting a date</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13864</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13864</guid>
        	        	<description><![CDATA[<p>Hi:</p>
</p>
<p>&#160; Actually I solved my problem in a not so fancy way, but still... what I did is this: I added a save and a cancel button next to the input field, so I have a way to trigger the save and restore methods.</p>
</p>
<p>&#160; I believe it would be good to have something like that as default when you specify "false" as usekeys options...</p>
</p>
<p>&#160; Another thing I had trouble with is that I had a model with several columns, in which the first wasn&#39;t supposed to be editable, but with that configuration the browser would do strange things with the datepicker, like only displaying the calendar after a few clicks inside the input box and switching to another window... The only way I figured to solve this was to make this column editable (id), but since it&#39;s hidden, it worked fine for me...</p>
]]></description>
        	        	<pubDate>Wed, 13 Jan 2010 19:25:28 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Can't get datepicker to post after selecting a date</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13848</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13848</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The datepicke need to be closed first and the submit the values. The same example is on demo page do you face the same problem?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 13 Jan 2010 18:25:24 +0200</pubDate>
        </item>
        <item>
        	<title>mchojrin on Can't get datepicker to post after selecting a date</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13782</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13782</guid>
        	        	<description><![CDATA[<p>Hi:</p>
</p>
<p>&#160;&#160;Let me put the code I&#39;m using:</p>
</p>
<p>$("#milestone_dates_table41").jqGrid({</p>
<p>&#160;&#160; &#160;datatype: "json",</p>
<p>&#160;&#160; &#160;height: &#39;auto&#39;,</p>
<p>&#160;&#160; &#160;autowidth: true,</p>
<p>&#160;&#160; &#160;url: &#39;/dashboard_dev.php/getMilestoneDates/41&#39;,</p>
<p>&#160;&#160; &#160;colModel:[</p>
<p>&#160;&#160; &#160; &#160; &#160;{name: &#39;id&#39;, hidden: true, index: &#39;id&#39;, editable: true },</p>
<p>&#160;&#160; &#160; &#160; &#160;{name:&#39;f1&#39;, label: &#39;Milestone&#39;, sortable: false, id: &#39;milestone&#39;}, &#160;</p>
<p>&#160;&#160; &#160; &#160; <span> </span>{name:&#39;f2&#39;, label: &#39;f2&#39;, sortable: false, editable: true, sorttype:"date", index: &#39;f2&#39; },</p>
<p>&#160;&#160; &#160;],</p>
<p>&#160;&#160; &#160;onSelectRow: function(id) {&#160;</p>
<p>&#160;&#160; &#160;<span> </span>if(id &#38;&#38; id!==lastsel_milestone41) {&#160;</p>
<p>&#160;&#160; &#160; &#160; &#160;<span> </span>jQuery(&#39;#milestone_dates_table41&#39;).jqGrid(&#39;restoreRow&#39;,lastsel_milestone41);&#160;</p>
<p>&#160;&#160; &#160; &#160; &#160;<span> </span>jQuery(&#39;#milestone_dates_table41&#39;).jqGrid(&#39;editRow&#39;, id, true, pickdates );</p>
<p>&#160;&#160; &#160; &#160; &#160;<span> </span></p>
<p>&#160;&#160; &#160; &#160; &#160;<span> </span>lastsel_milestone41=id;&#160;</p>
<p>&#160;&#160; &#160; &#160; &#160;<span> </span>}&#160;</p>
<p>&#160;&#160; &#160;<span> </span>},</p>
<p>&#160;&#160; &#160;imgpath: gridimgpath,</p>
<p>&#160;&#160; &#160;multiselect: false,</p>
<p>&#160;&#160; &#160;caption: "Milestone dates",</p>
<p>&#160;&#160; &#160;editurl: "/dashboard_dev.php/projectUpdateMilestoneDate?project_id=41",</p>
<p>&#160;&#160; &#160;rowList:[],</p>
<p>&#160;&#160; &#160;pager: "#milestone_dates_table41_pager" &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p>}).navGrid("#milestone_dates_table41_pager", { add: false, edit: false, search: false, del: false } );</p>
</p>
<p>function pickdates(id){&#160;</p>
<p><span> </span>jQuery("#"+ id + "_f2", "#milestone_dates_table41" ).datepicker( {dateFormat:"mm/dd/yy"} );&#160;</p>
</p>
<p>}&#160;</p>
</p>
<p>The problem is that the datepicker shows allright, but I have to hit the enter key several times in order to get the data posted to the server</p>
]]></description>
        	        	<pubDate>Mon, 11 Jan 2010 19:14:24 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Can't get datepicker to post after selecting a date</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13746</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13746</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Sorry, not thing is clear for me here. Which edit module, how do you call datepicke and etc.</p>
<p>Could not help this way.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 10 Jan 2010 13:21:47 +0200</pubDate>
        </item>
        <item>
        	<title>mchojrin on Can't get datepicker to post after selecting a date</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13699</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cant-get-datepicker-to-post-after-selecting-a-date#p13699</guid>
        	        	<description><![CDATA[<p>Hi:</p>
</p>
<p>&#160;&#160;I&#39;m usgin jqGrid 3.6.2. I have a grid that is loaded through json, one of the fields is a date. I need to be able to select it&#39;s value from a datepicker. Right now I got the datepicker working, but It wouldn&#39;t fire the post to actually update the data. I&#39;ve been following the examples but couldn&#39;t make it. Any idea? Thanks!</p>
]]></description>
        	        	<pubDate>Fri, 08 Jan 2010 22:37:06 +0200</pubDate>
        </item>
</channel>
</rss>