<?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 won't show up in advanced search dialog</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-wont-show-up-in-advanced-search-dialog</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-wont-show-up-in-advanced-search-dialog/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>alisebt on DatePicker won't show up in advanced search dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-wont-show-up-in-advanced-search-dialog#p28835</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-wont-show-up-in-advanced-search-dialog#p28835</guid>
        	        	<description><![CDATA[<p>hi</p>
<p>i have same problem but the link is broken</p>
</p>
<p>can u help me please?</p>
]]></description>
        	        	<pubDate>Mon, 20 May 2013 12:45:31 +0300</pubDate>
        </item>
        <item>
        	<title>tadams on DatePicker won't show up in advanced search dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-wont-show-up-in-advanced-search-dialog#p23016</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-wont-show-up-in-advanced-search-dialog#p23016</guid>
        	        	<description><![CDATA[<p>OKay, i figured it out myself, it seems to be some king of bug with jquery itself:</p>
<p><a href="http://stackoverflow.com/questions/2682259/jquery-ui-datepicker-not-displaying" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....displaying</a></p>
<p>The proposition there to leave out "clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px);" finally helped.</p>
</p>
<p>c. Thomas</p>
]]></description>
        	        	<pubDate>Wed, 04 May 2011 13:09:13 +0300</pubDate>
        </item>
        <item>
        	<title>tadams on DatePicker won't show up in advanced search dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datepicker-wont-show-up-in-advanced-search-dialog#p22987</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datepicker-wont-show-up-in-advanced-search-dialog#p22987</guid>
        	        	<description><![CDATA[<p>Hello again,</p>
</p>
<p>I&#39;m trying desperately getting the jquery DatePicker control showing up in the search dialog for the advanced resp. multiple search.</p>
<p>I was trying to set the <em>dataInit</em> property of the searchoptions to something like :</p>
<p style="padding-left: 30px;">&#160;</p>
<p style="padding-left: 30px;background-color:#EEEEEE;">searchoptions : { dataInit : function(elem){ setTimeout(function(){jQuery(elem).datepicker({dateFormat:&#39;yy-mm-dd&#39;});}, 100);}}, &#8230;</p>
</p>
<p>However the DatePicker control does not show up, once i opened the search dialog and tried to set a search value for a date field. Digging in firebug i found at last that the DOM strcuture for DatePicker is actually created, so actually the dataInit function gets called. But no matter what i do, it simply doesn&#39;t show up. I also tried to use the dataInit without the <em>setTimeout</em> although in the documentation it was clearly recommended to put that in too. Another thing worth to mention, hitting the ENTER key while in the corresponding date field sets the value to a wellfromed date string of the current date like "2011-05-01&#8243;.</p>
</p>
<p>Attached the whole source for reference, i&#39;m using recent browser types (FF 3.6, Opera 11, IE 9) the phenomenon in all of the is the same (and actually no javascript error is thrown at all).</p>
</p>
<div style="font-size: x-small; background: none repeat scroll 0% 0% #eeeeee; width: 700px; height: 500px; overflow: scroll;">$("#blog_list_All").jqGrid({<br />&#160;&#160; &#160;&#160;&#160; &#160;url : &#39;/blog/page/ajax/get.do&#39;, datatype : &#39;json&#39;, mtype : &#39;get&#39;, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;colNames : [&#39;Id&#39;, &#39;Comment&#39;, &#39;Date&#39;, &#39;User&#39;, &#39;Status&#39;, &#39;Edit&#39;, &#39;Delete&#39;], <br />&#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;id&#39;, index : &#39;id&#39;, width : 30, align : &#39;right&#39;,&#160; sortable : true, resizable : true, search : true}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name : &#39;text&#39;, index : &#39;text&#39;, width : 300, align : &#39;left&#39;,&#160; sortable : true, resizable : true, search : true}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name : &#39;date&#39;, index : &#39;date&#39;, width : 80, align : &#39;right&#39;,&#160; sortable : true, resizable : true, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;search : true, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;searchoptions : {dataInit : function(elem){ setTimeout(function(){jQuery(elem).datepicker({dateFormat:&#39;yy-mm-dd&#39;});}, 100);}}},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name : &#39;user&#39;, index : &#39;user&#39;, width : 150, align : &#39;left&#39;,&#160; sortable : true, resizable : true, search : true}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name : &#39;status&#39;, index : &#39;status&#39;, width : 150, align : &#39;left&#39;,&#160; sortable : true, resizable : true, search : true}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name : &#39;editLink&#39;, index : &#39;editLink&#39;, width : 80, align : &#39;center&#39;,&#160; sortable : true, resizable : true, search : false}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name : &#39;deleteLink&#39;, index : &#39;deleteLink&#39;, width : 80, align : &#39;center&#39;,&#160; sortable : true, resizable : true, search : false}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;], pager : &#39;blog_pager_tab1_All&#39;, rowNum : 10, rowList : [10, 20, 30], <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;sortname : &#39;id&#39;, sortorder : &#39;asc&#39;, viewrecords : true, caption : &#39;Blog list&#39;, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;loadComplete :&#160; OnGridLoadComplete, <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;search : {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;caption: "Search ...", <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;Find: "Find", Reset: "Reset", <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;multipleSearch: true, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;overlay: false, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;sopt: ["eq", "ne", "lt", "le", "gt", "ge"], <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;odata: ["equal", "not equal", "less", "less or equal", "greater", "greater or equal"], <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;groupOps : [{ op: "AND", text:"all"}, { op: "OR", text:"any"}], <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;matchText: "match", rulesText: "rules"<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;}).jqGrid(&#39;navGrid&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#39;#blog_pager_tab1_All&#39;,{edit:false,add:false,del:false,search:true,refresh:true}, <br />&#160;&#160; &#160;&#160;&#160; &#160;{}, // use default settings for edit<br />&#160;&#160; &#160;&#160;&#160; &#160;{}, // use default settings for add<br />&#160;&#160; &#160;&#160;&#160; &#160;{},&#160; // delete instead that del:false we need this<br />&#160;&#160; &#160;&#160;&#160; &#160;{multipleSearch : true}, // enable the advanced searching<br />&#160;&#160; &#160;&#160;&#160; &#160;{closeOnEscape:true} // allow the view dialog to be closed when user press ESC key<br />&#160;&#160; &#160;);<br />&#160;&#160; &#160;jQuery("#blog_list_All").jqGrid("setGridHeight","340")<br />&#160;&#160; &#160;jQuery("#blog_list_All").jqGrid("filterToolbar", {"autosearch":true,"stringResult":true});<br />&#160;&#160; &#160;....<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;jQuery(".createLink").button({<br />&#160;&#160; &#160;&#160;&#160; &#160;icons : {primary : &#39;ui-icon-trash&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;text : false<br />&#160;&#160; &#160;});<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;jQuery(".searchButton").button({<br />&#160;&#160; &#160;&#160;&#160; &#160;icons : {primary : &#39;ui-icon-trash&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;text : false<br />&#160;&#160; &#160;});<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;jQuery(".searchButton").click(function (){<br />&#160;&#160; &#160;&#160;&#160; &#160;jQuery("#blog_list_All").jqGrid(&#39;searchGrid&#39;, {caption: "Search ...", Find: "Find", Reset: "Reset", <br /> multipleSearch: true, overlay: false, sopt: ["eq", "ne", "lt", "le", "gt", "ge"], <br /> odata: ["equal", "not equal", "less", "less or equal", "greater", "greater or equal"], <br /> groupOps : [{ op: "AND", text:"all"}, { op: "OR", text:"any"}], <br /> matchText: "match", rulesText: "rules"});<br />&#160;&#160; &#160;});<br />&#160;&#160; &#160;....<br />});&#160;&#160;&#160; </p>
</div>
<p>Any help would be highly appreciated,</p>
</p>
<p>C. Thomas</p>
<p>Beijing, China</p>
]]></description>
        	        	<pubDate>Sat, 30 Apr 2011 09:19:32 +0300</pubDate>
        </item>
</channel>
</rss>