-
2 Mar 2008 4:49 PM #101
If you have remote search then yes because it is up to your server which fields it will search in addition to passed array fields.
If you have local search then not out-of-the-box but you'd need to write some custom search function(s) (I suppose filterBy).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
-
7 Mar 2008 9:25 AM #102
I have just tried this plugin within a grid and it looks great. My grid also has the expander plugin but by adding this plugin, the expand no longer works in the grid. I'm sure it is something I am doing wrong.
Code:SampleGrid4 = function(limitColumns){ var columns = [ expander, {id:'company',header: "", width: 40, sortable: true, dataIndex: 'company'}, {id:'price',header: "", width: 40, sortable: true, dataIndex: 'price'} ]; SampleGrid4.superclass.constructor.call(this, { store: new Ext.data.Store({ reader: new Ext.data.ArrayReader({}, [ {name: 'company'}, {name: 'price'}, {name: 'change'} ]), data: [ ['Documents', 'Document 1 Description'], ['Processes', 'Processes 1 Description'], ['Projects', 'K2 Features'] ] }), viewConfig: { forceFit:true }, tbar: [{xtype: 'tbfill'}], columns: columns, plugins: expander, bbar:[], plugins:[new Ext.ux.grid.Search({ mode:'local' ,iconCls:false ,dateFormat:'m/d/Y' ,minLength:2 })], height:60, width:700 }); }
-
7 Mar 2008 12:49 PM #103
should read:Code:plugins: expander, bbar:[], plugins:[new Ext.ux.grid.Search({ mode:'local' ,iconCls:false ,dateFormat:'m/d/Y' ,minLength:2 })],
Code:plugins:[expander, new Ext.ux.grid.Search({ mode:'local' ,iconCls:false ,dateFormat:'m/d/Y' ,minLength:2 })],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
-
7 Mar 2008 12:54 PM #104
Thanks - worked like a charm and great plugin!!!
-
7 Mar 2008 4:29 PM #105
How can i make a keypress function (alt + s) that goes to search field automatically?
In what part of the code?
garraS
-
7 Mar 2008 5:48 PM #106
-
8 Mar 2008 4:18 AM #107
I have added shortcut functionality - see code in first post. It works such a way that it installs key map on on grid element. Handler focuses the search field. Alt+S collides with menu History (in my browser) so I changed default to Alt+R = Search. Anyway, I made shortcut letter and modifier configurable.
Enjoy!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
-
8 Mar 2008 9:22 AM #108
-
11 Mar 2008 6:31 AM #109
Advanced filtering options
Advanced filtering options
Hi,
This plugin is great ! I just added some more filtering options (optional) in order to set the filter mode: by default the search is done in all the contain, I added an option to search at the begining only.
So the result is not the same if you search on the 'al' string for example (cf. attached images)
To test, just unzip the file in the "examples" folder
DeeZ
Note: sorry for my bad english - the plugin text can be easily changed
-
11 Mar 2008 6:39 AM #110
I wonder if it possible to add a boolean search, i.e. al , 2 or al+2 etc so the search look for more than 1 parameter


Reply With Quote
