<?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: Datepicker generates errors.</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors</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/datepicker-generates-errors/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Datepicker generates errors.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9484</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9484</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks I have it. Could you please send me th JS files used.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 12:19:57 +0300</pubDate>
        </item>
        <item>
        	<title>RobGMiller on Datepicker generates errors.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9482</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9482</guid>
        	        	<description><![CDATA[<p>Perhaps a simple version of the file with the problem migth be more usefull to you?</p>
</p>
<p>I have emailed it to you.&#160;</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 12:07:48 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Datepicker generates errors.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9480</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9480</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could you please provide a link?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 11:14:18 +0300</pubDate>
        </item>
        <item>
        	<title>RobGMiller on Datepicker generates errors.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9478</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9478</guid>
        	        	<description><![CDATA[<p>I used the same ui.datepicker.js file in other date text inputs on other pages and they work. This is the first time i&#39;ve tried to use it in a jQgrid column.&#160;</p>
</p>
<p>However, I tried&#160;jquery-ui-1.7.1.custom.min.js direct from UI and the error persists.&#160;</p>
</p>
<p>and I tried to add a date field on the same page and that worked as expected.&#160;</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 11:07:22 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Datepicker generates errors.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9477</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9477</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Whch version of datepicker is this?</p>
<p>I feel that you use the old datepicker and the calling is not correct.</p>
<p>Just for thest in the same page could you please attach datepicker to element that is created manually from you.</p>
<p>something like</p>
<p>&#60;inpud id=&#39;datepick&#39;&#62;</p>
<p>and then</p>
<p>$("#datepick").datepicker({ dateFormat: &#39;dd-mmm-yyyy&#39; });</p>
<p>See the result.</p></p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 10:48:46 +0300</pubDate>
        </item>
        <item>
        	<title>RobGMiller on Datepicker generates errors.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9475</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9475</guid>
        	        	<description><![CDATA[</p>
<p>these were included:</p>
<p>jquery.js,&#160;</p>
<p>js/grid.base.js,&#160;</p>
<p>grid.locale-en.js,&#160;</p>
<p>grid.common.js,&#160;</p>
<p>grid.custom.js,&#160;</p>
<p>grid.postext.js,&#160;</p>
<p>celledit.js,&#160;</p>
<p>MaskedInput.js,&#160;</p>
<p>ui.datepicker.js</p>
</p>
<p>then, at your suggestion, I added the following and tested after each addition:</p>
</p>
<p>jquery.fmatter.js,&#160;</p>
<p>grid.setcolumns.js,</p>
<p>grid.formedit.js,&#160;</p>
<p>grid.inlinedit.js,&#160;</p>
<p>jqModal.js,&#160;</p>
</p>
<p>The error presists.&#160;</p>
</p>
<p>the rest seem unlikely. Do you think any of these might solve the problem?</p>
<p>grid.import.js,</p>
<p>grid.subgrid.js,&#160;</p>
<p>grid.tbltogrid.js,&#160;</p>
<p>grid.treegrid.js,&#160;</p>
<p>jqDnR.js,&#160;</p>
<p>jquery.searchFilter.js,&#160;</p>
<p>JsonXml.js</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 10:35:21 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Datepicker generates errors.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9465</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9465</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Mostley the error: Object doesn&#39;t support this property or method</p>
<p>tells that some modules are not loaded. Check if you have all the needed JS files loaded.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 09:56:32 +0300</pubDate>
        </item>
        <item>
        	<title>RobGMiller on Datepicker generates errors.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9463</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9463</guid>
        	        	<description><![CDATA[<p>Thanks for your response Tony,&#160;</p>
</p>
<p>"Object doesn&#39;t support this property or method"</p>
</p>
<p>Rob..</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 09:51:02 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Datepicker generates errors.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9460</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9460</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could you please tell me what is the text of the error?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 09:47:30 +0300</pubDate>
        </item>
        <item>
        	<title>RobGMiller on Datepicker generates errors.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9444</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-generates-errors#p9444</guid>
        	        	<description><![CDATA[</p>
<p>When a datepicker is added to a column in a grid the column generates errors:</p>
</p>
<p>colModel date field entry:</p>
<p>{label: &#39;Date Added&#39;, name: &#39;DateAdded&#39;, index: &#39;DateAdded&#39;, width: 80,</p>
<p>&#160;&#160; sortable: false,</p>
<p>&#160;&#160; search: false,</p>
<p>&#160;&#160; edittype: &#39;text&#39;,</p>
<p>&#160;&#160; editable: true,</p>
<p>&#160;&#160; editrules: { date: true, minValue: 0 },</p>
<p>&#160;&#160; datefmt: &#39;dd-mmm-yyyy&#39;,&#160;</p>
<p>&#160;&#160; editoptions: { dataInit: function(elem) { $(elem).datepicker({ dateFormat: &#39;dd-mmm-yyyy&#39; }); } }</p>
<p>},</p>
<p>-When the grid first starts it goes through $.fn.datepicker but doesn&#39;t go through _attachDatepicker: (ui.datepicker.js)</p>
<p>-When the dateAdded column is clicked on, it goes through $.fn.datepicker and does go through _attachDatepicker: At this point it&#160;generates an error.</p>
<p>-The next time it is clicked on it doesn&#39;t go throught _attachDatepicker. It tryes to split the value of the DateAdded field but the value is found to be&#160;empty even though there is something in it and it generates an error at grid.base.js line 1465.</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; -grid.common.js.function checkDate line 274 date = date.split(sep);</p>
<p>-Without editoptions: { dataInit: function(elem) { $(elem).datepicker({ dateFormat: &#39;dd-mmm-yyyy&#39; }); } } in the dateAdded column options in colModel, there is no error when the column is clicked.</p>
</p>
<p>-the content of the field is filled via json from server as the grid opens and is &#8220;03-sep-2009&#8243;.</p>
<p>Perhaps someone has encoutered this issue in the past and can indicate what I am doing wrong.&#160;</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 08:22:54 +0300</pubDate>
        </item>
</channel>
</rss>