<?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: substitute for triggerToolbar in the new API</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api</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/substitute-for-triggertoolbar-in-the-new-api/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Kelio on substitute for triggerToolbar in the new API</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20809</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20809</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>Hello!</p>
<p>If you want to open to set and trigger the filter in the toolbar you can do the same as I described in <a href="http://stackoverflow.com/questions/4135631/jqgrid-select-dropdown-element" target="_blank">the answer</a> on the stackoverflow. Do <a href="http://www.ok-soft-gmbh.com/jqGrid/DefaultSelect.htm" target="_blank">the demo</a> what you want?</p>
<p>...</p>
<p>Best regards<br />Oleg</p>
</p>
</blockquote>
<hr />
<p>Hi OlegK,</p>
<p>The first example is perfect for me and it&#39;s work fine.</p>
<p>THANKS YOU VERY MUCH FOR YOUR HELP.</p>
<p>JqGrid is a great tool.</p>
<p>Best regards,</p>
]]></description>
        	        	<pubDate>Sun, 14 Nov 2010 18:27:01 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on substitute for triggerToolbar in the new API</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20750</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20750</guid>
        	        	<description><![CDATA[<p>Hello!</p>
<p>If you want to open to set and trigger the filter in the toolbar you can do the same as I described in <a href="http://stackoverflow.com/questions/4135631/jqgrid-select-dropdown-element" target="_blank">the answer</a> on the stackoverflow. Do <a href="http://www.ok-soft-gmbh.com/jqGrid/DefaultSelect.htm" target="_blank">the demo</a> what you want?</p>
<p>Another <a href="http://stackoverflow.com/questions/3974324/jqgrid-using-multiple-methods-to-filter-data" target="_blank">old answer</a>&#160;(see <a href="http://www.ok-soft-gmbh.com/jqGrid/CheckboxesWithVerticalHeaders1.htm" target="_blank">the demo</a> from the answer), &#160;<a href="http://stackoverflow.com/questions/3981874/multiple-search-with-multiplefields-by-default" target="_blank">this</a> and <a href="http://stackoverflow.com/questions/3989786/jqgrid-clear-search-criteria" target="_blank">this</a> about the role of <strong>postData</strong>&#160;for any kind of searching could be probably also helpfull for you.</p>
<p>Best regards<br />Oleg</p></p>
]]></description>
        	        	<pubDate>Thu, 11 Nov 2010 12:23:09 +0200</pubDate>
        </item>
        <item>
        	<title>Kelio on substitute for triggerToolbar in the new API</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20748</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20748</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>this syntax :</p>
</p>
<p>I try both call to API :</p>
<p>1. &#160; jQuery("#idt-1&#8243;).jqGrid("filterToolbar");&#160;&#160;&#160; and</p>
<p>2.&#160;&#160; jQuery("#idt-1&#8243;).filterToolbar();</p>
</p>
<p>follow by</p>
<p>var sgrid = $("#idt-1&#8243;)[0];<br />sgrid.triggerToolbar();&#160;&#160;</p>
</p>
<p>Both syntax don&#39;t work with Json.</p>
<p>How can I do to execute the filter after the page is loaded ?</p>
</p>
<p>Thanks you very much for your help</p></p>
]]></description>
        	        	<pubDate>Thu, 11 Nov 2010 10:32:32 +0200</pubDate>
        </item>
        <item>
        	<title>Kelio on substitute for triggerToolbar in the new API</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20684</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20684</guid>
        	        	<description><![CDATA[<p>Hi, Thanks you very much for your answer.</p>
</p>
<p>In fact, I want to load my page with the filter USA:USA already activated.</p>
</p>
<p>I try both call to API :</p>
<p>1. &#160; jQuery("#idt-1&#8243;).jqGrid("filterToolbar");&#160;&#160;&#160; and</p>
<p>2.&#160;&#160; jQuery("#idt-1").filterToolbar();</p>
</p>
<p>follow by</p>
<p>var sgrid = $("#idt-1&#8243;)[0];<br />sgrid.triggerToolbar();&#160;&#160;&#160;</p>
</p>
<p>In both case, my page is not filtered.</p>
<p>In the drop down select list, I have USA:USA by defaut but the data are not filtered on first print.</p>
</p>
<p>The most stange things is that when i use local data , the sgrid.triggerToolbar();&#160;&#160;&#160; works and my page is filtered but when i use JSON, the methods don&#39;t work.</p>
</p>
<p>Thanks you by advance for your help.</p></p>
]]></description>
        	        	<pubDate>Sat, 06 Nov 2010 18:04:18 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on substitute for triggerToolbar in the new API</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20657</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20657</guid>
        	        	<description><![CDATA[<p>You are right. There methods triggerToolbar, clearToolbar and toggleToolbar are really implemented in another way. It is documented by the way <a href="/jqgridwiki/doku.php?id=wiki:toolbar_searching#using_the_additional_methods" target="_blank">here</a>. Do you have some&#160;conflicts? Why it is a problem to you the method triggerToolbar in the way like you as currently do?</p>
<p>By the way your code have a small error: one additional &#39;}&#39; after the declaration of the column "nickname". You should has</p>
<p>&#160;&#160; &#160;{name:"nickname",index:"nickname", width:75, sorttype:"text", align:"center",search:false},&#160;</p>
<p>instead of</p>
<p>&#160;&#160; &#160;{name:"nickname",index:"nickname", width:75, sorttype:"text", align:"center",search:false}},&#160;</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Wed, 03 Nov 2010 19:00:23 +0200</pubDate>
        </item>
        <item>
        	<title>Kelio on substitute for triggerToolbar in the new API</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20652</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20652</guid>
        	        	<description><![CDATA[<p>Thansk for your answer.</p>
<p>I use this code :</p>
</p>
<blockquote>
<p>&#60;table id="idt-1"&#62;&#60;/table&#62;</p>
<p>&#60;div id="filter" style="margin-left:30%;display:none"&#62;filtre de recherche&#60;/div&#62; <br />&#160;&#160;&#160;&#160;&#160; &#160;<br />&#60;script type="text/javascript"&#62;<br />&#160;&#160; var mygrid = jQuery("#idt-1").jqGrid({<br />&#160;&#160;&#160;&#160; url:"loaddata.php",<br />&#160;&#160; &#160;&#160; datatype: "json", <br />&#160;&#160;&#160;&#160; height:"auto",<br />&#160;&#160;&#160;&#160; colNames:[ "firstname","nickname","country"], <br />&#160;&#160;&#160;&#160; colModel:[&#160; {name:"firstname",index:"firstname", width:75, sorttype:"text",classes:"cssfirstname",stype:"select", editoptions:{value:":All;John:John;Edward:Edward;Oliver:Oliver"}}, <br />&#160;&#160; &#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160; {name:"nickname",index:"nickname", width:75, sorttype:"text", align:"center",search:false}}, <br />&#160;&#160; &#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160; {name:"country",index:"country", width:110, sorttype:"text", align:"center",stype:"select", editoptions:{value:"USA:USA;:All;FRANCE:FRANCE;SPAIN:SPAIN"}},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;],<br />&#160;&#160;&#160;&#160; mtype: "GET", <br />&#160;&#160;&#160;&#160; sortname: "nickname",<br />&#160;&#160;&#160;&#160; rowNum:500,<br />&#160;&#160;&#160;&#160; rowTotal: 500,<br />&#160;&#160;&#160;&#160; loadonce:true, <br />&#160;&#160;&#160;&#160; viewrecords: false,<br />&#160;&#160; &#160;&#160; rownumbers: true,<br />&#160;&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160;&#160; shrinkToFit:true,<br />&#160;&#160;&#160;&#160; gridview:true,<br />&#160;&#160;&#160;&#160; caption: "test" <br />&#160;&#160; &#160;&#160; });</p>
<p>&#160;&#160;&#160; &#160;jQuery("#idt-1").jqGrid("filterToolbar");&#160;&#160; &#160;<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;var sgrid = $("#idt-1")[0];<br />&#160;&#160; &#160;sgrid.triggerToolbar();&#160;&#160; &#160;&#160; &#160;<br />&#160;&#160; &#160;<br />&#60;/script&#62;</p>
</blockquote>
<p>Thanks you very much</p>
<p>Best regards</p>
]]></description>
        	        	<pubDate>Wed, 03 Nov 2010 17:20:32 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on substitute for triggerToolbar in the new API</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20649</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20649</guid>
        	        	<description><![CDATA[<p>All functions inclusive <a href="/jqgridwiki/doku.php?id=wiki:toolbar_searching" target="_blank">triggerToolbar</a> should works with new API. Do you try with</p>
<p>jQuery("#grid_id").jqGrid(&#39;filterToolbar&#39;,options);</p>
<p>where "grid_id" is the id of the table element of your grid? If this not work, then you should verify your JavaScript code or at least paste the code example in your question which can be used to reproduce your problem.</p>
<p>Best regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Wed, 03 Nov 2010 16:31:36 +0200</pubDate>
        </item>
        <item>
        	<title>Kelio on substitute for triggerToolbar in the new API</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20644</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/substitute-for-triggertoolbar-in-the-new-api#p20644</guid>
        	        	<description><![CDATA[<p>hi,</p>
</p>
<p>Thanks you very much for the great JqGrid !</p>
<p>I want the grid be already filtered when my page is loaded.</p>
<p>Then I want to use the triggerToolbar function but its don&#39;t work with new api.</p>
<p>So what is the substitue of that function in new api ?</p>
<p>or how to use the older api instead ?</p>
</p>
<p>Thanks you very much</p>
]]></description>
        	        	<pubDate>Wed, 03 Nov 2010 15:33:43 +0200</pubDate>
        </item>
</channel>
</rss>