-
21 Jan 2008 12:21 PM #11
tBar
tBar
How can i get the plugin to work with my tbar

-
21 Jan 2008 12:24 PM #12
you're a life saver! i was just about to try and tackle this myself. it wouldn't have been pretty. well done sir!
-
21 Jan 2008 2:12 PM #13Jozef 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
-
23 Jan 2008 1:50 PM #14
nice plugin! thx for sharing =)
i have a question.... is possible make work this plugin with autogrid??? can u give an example please...
thx for u time and answerla musica es absolutamente necesaria para la vida.
-
23 Jan 2008 3:37 PM #15
Thanks for this plugin.
I'm using a GroupingView with startCollapsed:true, so I added the following code just before the end of onTriggerSearch:
Code:// Give immediate feedback of rows found in case there are collapsed groups var view = this.grid.getView(); if ("expandAllGroups" in view) { view.expandAllGroups(); } } // end of function onTriggerSearch
-
24 Jan 2008 12:34 AM #16
Hi,
Thanks for the plugin! I use the paging toolbar, and somehow the store.lastOptions is an object, but it has no params... (That is, if the grid is just opened and the user has not paged yet). So I added these 2 checks (in bold). I suppose it's my own config, but I just wanted to let you know.
Greetz,
Ronaldo
Code:else { // clear start (necessary if we have paging) if(store.lastOptions && store.lastOptions.params) { store.lastOptions.params[store.paramNames.start] = 0; } // get fields to search array var fields = []; this.menu.items.each(function(item) { if(item.checked) { fields.push(item.dataIndex); } }); // add fields and query to baseParams of store delete(store.baseParams[this.paramNames.fields]); delete(store.baseParams[this.paramNames.query]); if (store.lastOptions && store.lastOptions.params) { delete (store.lastOptions.params[this.paramNames.fields]); delete (store.lastOptions.params[this.paramNames.query]); } if(fields.length) { store.baseParams[this.paramNames.fields] = Ext.encode(fields); store.baseParams[this.paramNames.query] = val; }
-
24 Jan 2008 3:27 AM #17
Oh yes, you're right. I've never loaded store w/o params.
Thanks for debugging.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
-
29 Jan 2008 11:15 AM #18
i'm getting some odd behavior when i use CheckboxSelectionModel() it's including the checkbox column as a searchable field. how can i disable it?
-
29 Jan 2008 11:29 AM #19
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
-
29 Jan 2008 10:25 PM #20
when i try to use the plugin i have no Triggerfield. It will be rendered but not displayed? Where is my fault?
When i look in firebug the triggerfield has an width of 0px ???
EDIT: It seems that this behaviour only appears when use a card-layout... :-(
Code:// Das Grid deklarieren grid = new Ext.grid.GridPanel({ id: 'grid_users', region: 'center', minSize: 100, maxSize: 500, stripeRows: true, ds: ds, cm: columnModel, title: LANG.GRID_ManagedGroups_Title, viewConfig: { forceFit: true }, width: 600, height: 300, selModel: new Ext.grid.RowSelectionModel({ singleSelect: false }), enableDragDrop: true, ddGroup: 'usersDD', autoExpandColumn: 'user_email', tbar: toolbarButtons, bbar: new Ext.PagingToolbar({ pageSize: 25, store: ds, displayInfo: true, displayMsg: LANG.GRID_PTB_displayMsg, emptyMsg: LANG.GRID_PTB_emptyMsg }), plugins: [new Ext.ux.grid.Search({ searchText: 'Suche', mode: 'remote', iconCls: false, dateFormat: 'd m Y H:i', position: 'top' })] })


Reply With Quote

