<?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 not a function</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-not-a-function</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-not-a-function/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>esk on datepicker not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-not-a-function#p3643</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-not-a-function#p3643</guid>
        	        	<description><![CDATA[<p>thanks for the reply, I&#39;ll try it</p>
]]></description>
        	        	<pubDate>Mon, 22 Dec 2008 06:58:34 +0200</pubDate>
        </item>
        <item>
        	<title>tony on datepicker not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-not-a-function#p3619</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-not-a-function#p3619</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You should manually add the datepicker plugin and must be sure that it is loaded correctly. Add the plugin in head section of your html document.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 20 Dec 2008 03:06:42 +0200</pubDate>
        </item>
        <item>
        	<title>esk on datepicker not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-not-a-function#p3607</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-not-a-function#p3607</guid>
        	        	<description><![CDATA[<p>hi all</p>
</p>
<p>I try to use datepicker for multiple toolbar search but get an error, firebug says</p>
<p><span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch opened"></span></p>
<div class="errorTitle">jQuery("#sg_CreationDate").datepicker is not a function</div>
<div class="errorTrace">
<div class="objectBox objectBox-stackFrame"><a class="objectLink" target="_blank">(?)()</a>()<span class="objectLink-sourceLink objectLink">LicenseServer (line 117)</span></div>
<div class="objectBox objectBox-stackFrame"><a class="objectLink" target="_blank">(?)()</a>()<span class="objectLink-sourceLink objectLink">3DYR8yd%...e3Q%3D%3D (line 1)</span></div>
<div class="objectBox objectBox-stackFrame"><a class="objectLink" target="_blank">(?)()</a>()<span class="objectLink-sourceLink objectLink">3DYR8yd%...e3Q%3D%3D (line 1)</span></div>
<div class="objectBox objectBox-stackFrame"><a class="objectLink" target="_blank">(?)()</a>(<a class="objectLink objectLink-object" target="_blank"><span class="objectTitle">function () {     return a.call(this, D); }</span></a><span class="arrayComma">, </span><a class="objectLink objectLink-function" target="_blank">function()</a><span class="arrayComma">, </span><span class="objectBox objectBox-undefined">undefined</span>)<span class="objectLink-sourceLink objectLink">3DYR8yd%...e3Q%3D%3D (line 1)</span></div>
<div class="objectBox objectBox-stackFrame"><a class="objectLink" target="_blank">(?)()</a>()<span class="objectLink-sourceLink objectLink">3DYR8yd%...e3Q%3D%3D (line 1)</span></div>
</div>
<div class="errorSourceBox errorSource-exec">[Image Can Not Be Found]<span class="errorSource"> jQuery("#sg_CreationDate").datepicker(...teFormat:"yy-mm-dd", showOn:&#39;focus&#39;}); </span></div>
<div class="errorSourceBox errorSource-exec"></div>
<div class="errorSourceBox errorSource-exec">my html code</div>
<div class="errorSourceBox errorSource-exec"></div>
<div class="errorSourceBox errorSource-exec">&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;table id="UserList" class="scroll" cellpadding="0" cellspacing="0"&#62;&#60;/table&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;div id="UserList" class="scroll" style="text-align:center;"&#62;&#60;/div&#62; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;div id="pager" class="scroll" style="text-align:center;"&#62;&#60;/div&#62;</div>
<div class="errorSourceBox errorSource-exec"></div>
<div class="errorSourceBox errorSource-exec">my js code:</div>
<div class="errorSourceBox errorSource-exec"></div>
<div class="errorSourceBox errorSource-exec">jQuery(document).ready<br />(<br />&#160;&#160;&#160; function()<br />&#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; jQuery("#UserList").jqGrid<br />&#160;&#160;&#160; &#160;&#160;&#160; (<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; url:&#39;users.getData.php&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; mtype: &#39;GET&#39;, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colNames:[&#39;Actions&#39;, &#39;Name&#39;,&#39;E-mail&#39;, &#39;Creation Date&#39;, &#39;Order ID&#39;,&#39;Banned&#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; {name:&#39;act&#39;,index:&#39;act&#39;, width:75,sortable:false, align:"center"},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Name&#39;,index:&#39;Name&#39;, width:170, editable:true}, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Email&#39;,index:&#39;Email&#39;, width:170, editable:true}, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;CreationDate&#39;,index:&#39;CreationDate&#39;, width:100, sorttype:"date"}, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;OrderID&#39;,index:&#39;OrderID&#39;, width:150, align:"right"}, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Banned&#39;,index:&#39;Banned&#39;, width:50, align:"center", editable:true, edittype:"select", editoptions: {value:"0:No;1:Yes"}}<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; pager: jQuery(&#39;#pager&#39;),<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; height: 280,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; rowNum:10, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; rowList:[10, 20,30,50,100],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sortname: &#39;CreationDate&#39;, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; toolbar: [true, "top"],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; viewrecords: true, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; imgpath: &#39;js/themes/coffee/images&#39;, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; loadComplete: function()<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; { <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; &#160;&#160;&#160; var ids = jQuery("#UserList").getDataIDs(); <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; &#160;&#160;&#160; for(var i=0;i&#60;ids.length;i++)<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; &#160;&#160;&#160; { <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; &#160;&#160;&#160; &#160;&#160;&#160; var cl = ids[i]; <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; &#160;&#160;&#160; &#160;&#160;&#160; be = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;E&#39; onclick=jQuery(&#39;#UserList&#39;).editRow("+cl+"); &#62;&#60;/ids&#62;"; <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; &#160;&#160;&#160; &#160;&#160;&#160; se = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;S&#39; onclick=jQuery(&#39;#UserList&#39;).saveRow("+cl+",CheckSuccess); /&#62;"; <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; &#160;&#160;&#160; &#160;&#160;&#160; ce = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;C&#39; onclick=jQuery(&#39;#UserList&#39;).restoreRow("+cl+"); /&#62;"; <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; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#UserList").setRowData(ids[i],{act:be+se+ce}) <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; &#160;&#160;&#160; } <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; },<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; editurl: "users.saveData.php", <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; caption: &#39;My first grid&#39; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; );<br />&#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; jQuery("#t_UserList").height(25).hide().filterGrid("UserList",{gridModel:true,gridToolbar:true}); <br />&#160;&#160;&#160; &#160;&#160;&#160; jQuery("#sg_CreationDate").datepicker({dateFormat:"yy-mm-dd", showOn:&#39;focus&#39;});&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; jQuery("#UserList").navGrid(&#39;#pager&#39;,{edit:false,add:false,del:false,search:false,refresh:false})<br />&#160;&#160;&#160; &#160;&#160;&#160; .navButtonAdd("#pager",{caption:"Search",title:"Toggle Search",buttonimg:&#39;js/themes/coffee/images/find.gif&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; onClickButton:function(){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; &#160;&#160;&#160; if(jQuery("#t_UserList").css("display")=="none") {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#t_UserList").css("display",""); &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; &#160;&#160;&#160; } else {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#t_UserList").css("display","none"); &#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;&#160; &#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; }&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; }); <br />&#160;&#160;&#160; }<br />);</div>
<div class="errorSourceBox errorSource-exec"></div>
<div class="errorSourceBox errorSource-exec"></div>
<div class="errorSourceBox errorSource-exec">waiting for you reply</div>
<div class="errorSourceBox errorSource-exec">thnx</div></p>
]]></description>
        	        	<pubDate>Thu, 18 Dec 2008 15:40:28 +0200</pubDate>
        </item>
</channel>
</rss>