<?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: 3.5 / Cell editing and calendar intergration</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration</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/35-cell-editing-and-calendar-intergration/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on 3.5 / Cell editing and calendar intergration</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p9453</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p9453</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could you please give a link to the problem or if this is not possible send the configuration to me in order to test.</p>
<p>Thanks</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 09:26:46 +0300</pubDate>
        </item>
        <item>
        	<title>RobGMiller on 3.5 / Cell editing and calendar intergration</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p9388</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p9388</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>
<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 }, 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>
<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: and 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 &#160;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 data field colModel entry there is no error when the column is clicked&#160;</p>
<p>-the content of the field is filled via json from server as the grid opens and is "03-sep-2009".</p>
<p>Perhaps someone has encoutered this issue in the past and can indicate what I am doing wrong.&#160;</p>
]]></description>
        	        	<pubDate>Sat, 05 Sep 2009 06:11:02 +0300</pubDate>
        </item>
        <item>
        	<title>glemarie on 3.5 / Cell editing and calendar intergration</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8271</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8271</guid>
        	        	<description><![CDATA[<p>Thanks tony it works. Shame on me, I didn&#39;t pay enought attention to the docs <img class="spSmiley" style="margin:0" title="Embarassed" src="/blog/wp-content/forum-smileys/sf-embarassed.gif" alt="Embarassed" /></p>
]]></description>
        	        	<pubDate>Wed, 05 Aug 2009 08:34:03 +0300</pubDate>
        </item>
        <item>
        	<title>tony on 3.5 / Cell editing and calendar intergration</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8267</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8267</guid>
        	        	<description><![CDATA[<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:common_rules#editoptions" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ditoptions</a></p>
]]></description>
        	        	<pubDate>Wed, 05 Aug 2009 05:12:38 +0300</pubDate>
        </item>
        <item>
        	<title>tony on 3.5 / Cell editing and calendar intergration</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8266</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8266</guid>
        	        	<description><![CDATA[<p><strong>{name:&#39;Date&#39;,index:&#39;Date&#39;, width:70, sortable:false, search: false, editable: true,editrules:{date:true, minValue:0}, datefmt:&#39;d/m/Y&#39;,</strong></p>
<p><strong><em>editoptions</em>:{dataInit: function (elem) {$(elem).datepicker({dateFormat:"dd/mm/yy"});} } },</strong></p>
]]></description>
        	        	<pubDate>Wed, 05 Aug 2009 05:09:49 +0300</pubDate>
        </item>
        <item>
        	<title>glemarie on 3.5 / Cell editing and calendar intergration</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8265</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8265</guid>
        	        	<description><![CDATA[<p>I also tried with a simplier colmodel :</p>
<blockquote>
<p>{name:&#39;Date&#39;,index:&#39;Date&#39;, search: false, editable: true, dataInit: function (elem) {$(elem).datepicker();}},</p>
</blockquote>
<p>But nothing happens. I tried to display an "alert" in the dataInit function, but it never displays.</p>
<p>I really don&#39;t see why...</p>
]]></description>
        	        	<pubDate>Wed, 05 Aug 2009 04:59:40 +0300</pubDate>
        </item>
        <item>
        	<title>glemarie on 3.5 / Cell editing and calendar intergration</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8263</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8263</guid>
        	        	<description><![CDATA[<p>Yes I read the docs (cell/row editting) + the example, but didn&#39;t see the dataInit function.</p>
<p>I just tried, but it seems the function is not called&#8230; See my code (&#39;Date&#39; field is the first one)</p>
<blockquote>
<p>&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; grid7.jqGrid({<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; url:&#39;fraisForm.php?action=contentFrais&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; datatype: &#8220;json&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colNames:[&#39;Date&#39;, &#39;Commentaire&#39;, &#39;Hotel&#39;, &#39;Bar&#39;, &#39;Total&#39;],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colModel:[<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <strong>{name:&#39;Date&#39;,index:&#39;Date&#39;, width:70, sortable:false, search: false, editable: true,editrules:{date:true, minValue:0}, datefmt:&#39;d/m/Y&#39;, dataInit: function (elem) {$(elem).datepicker({dateFormat:"dd/mm/yy"});}},</strong><br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Commentaire&#39;,index:&#39;Commentaire&#39;, width:200, align:"left", sortable:false, search: false,editable: true,edittype:"textarea", editoptions:{rows:"3",cols:"40"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Hotel&#39;,index:&#39;Hotel&#39;, align:"center", width:70, editable: true,editrules:{number:true, minValue:0}, sortable:false, search: false},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Bar&#39;,index:&#39;Bar&#39;, align:"center", width:70, editable: true,editrules:{number:true, minValue:0},sortable:false, search: false},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Total&#39;,index:&#39;Total&#39;, width:60, align:"center", editable: false,sortable:false, search: 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; cellEdit: true, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; cellurl: &#8220;fraisUpdate.php?idSalarie=2&#38;mois=7&#38;annee=2009&#8243;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; beforeSaveCell: function(rowid, cellname, value, iRow, iCol) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#8230;..<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; afterSaveCell: function(rowid, cellname, value, iRow, iCol) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#8230;..<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });</p>
</blockquote>
]]></description>
        	        	<pubDate>Wed, 05 Aug 2009 04:30:53 +0300</pubDate>
        </item>
        <item>
        	<title>tony on 3.5 / Cell editing and calendar intergration</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8262</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8262</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Did you read the docs?</p>
<p>Also use dataInit event. See common configuration in editing</p>
]]></description>
        	        	<pubDate>Wed, 05 Aug 2009 03:34:51 +0300</pubDate>
        </item>
        <item>
        	<title>glemarie on 3.5 / Cell editing and calendar intergration</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8261</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8261</guid>
        	        	<description><![CDATA[<p>Nobody can help me ?</p>
]]></description>
        	        	<pubDate>Wed, 05 Aug 2009 03:19:35 +0300</pubDate>
        </item>
        <item>
        	<title>glemarie on 3.5 / Cell editing and calendar intergration</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8124</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-cell-editing-and-calendar-intergration#p8124</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I&#39;m trying to integrate UI datepicker in celledit mode, but Imust admit that its not a success <img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /></p>
<p>In fact, I used the 3.5 example (<a rel="nofollow" href="/jqgrid35/jqgrid.html" target="_blank"></a><a href="http://www.trirand.com/jqgrid3" rel="nofollow" target="_blank">http://www.trirand.com/jqgrid3</a>.....qgrid.html, row edit mode).</p>
<p>I replaced the onSelectRow event with a beforeEditCell (with the correct parameters).</p>
<p>The pickdates function is correctly called, the input ID is correct, but nothing happens. I suppose that when the event is fired, the input element is not created yet ?</p>
<p>Is there a solution to my problem ?</p>
<p>Thanks</p>
<p>--------</p>
<p><span style="text-decoration: underline;">Edit </span>: I saw <a href="/blog/?page_id=393/help/dapepicker-in-celledit-mode" target="_blank">this post </a>telling that it&#39;s the same thing than in row edit mode, but... I tried and the onSelectRow event was never fired (except when multiselect was active and even then, I had to click on the checkbox to fire the event)</p>
]]></description>
        	        	<pubDate>Wed, 29 Jul 2009 04:43:19 +0300</pubDate>
        </item>
</channel>
</rss>