-
14 Oct 2010 1:19 PM #911
Just continue debugging while referring to the example. The server side has to filter the records, of course.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
14 Oct 2010 8:20 PM #912
Hi Saki,
I updated to 3.3.0 and the clear trigger didn't work, I went to 3.2.2, it didn't work for me too.
But when I made a change in the grid.Search code and the clear trigger works for me now. (See below)
Line 207
The clear trigger is now working fine. I may have downloaded an older version of Ext.ux.grid.Search..Code://,onTrigger1Click:this.minChars ? Ext.emptyFn : this.onTriggerClear.createDelegate(this) ,onTrigger1Click:this.onTriggerClear.createDelegate(this)
I hope this helps Dipish as well.

-
15 Oct 2010 1:50 AM #913
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
15 Oct 2010 10:58 AM #914
Yeah old bug, I checked and it's fixed in Saki's newest version. For the lazy, use this code:
PHP Code:,trigger2Class:this.minChars ? 'x-hidden' : 'x-form-search-trigger'
,onTrigger1Click:this.onTriggerClear.createDelegate(this)
,onTrigger2Click:this.minChars ? Ext.emptyFn : this.onTriggerSearch.createDelegate(this)
-
17 Oct 2010 11:31 PM #915
Thanks for the link Saki.

Thank you Samuel.reed as well for pointing that out.

-
17 Oct 2010 11:58 PM #916
Thanks all! I'll try out the latest development version as soon as I get back to that part of my project.
-
18 Oct 2010 8:14 AM #917
-
18 Oct 2010 10:06 AM #918
Can you elaborate a little bit more? I know that you've solved it but I have no clue how.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
18 Oct 2010 11:06 PM #919
I have changed the call to the plugin from "local" to "remote" like this
and in the server part I've check the "query" paramPHP Code:new Ext.ux.grid.Search({ mode: "remote", iconCls: false, minLength: 2 })
I don't know if it's the best way, but it's OK for me.PHP Code:$query = "SELECT * FROM table WHERE field LIKE '%" . $_POST["query"] . "%' ORDER BY ID";
-
19 Oct 2010 2:42 AM #920
I see. So server ignores differences between a and á by default. I thought you've written some code.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video


Reply With Quote