1. #981
    Sencha User
    Join Date
    Feb 2011
    Posts
    4
    Vote Rating
    0
    parimala is on a distinguished road

      0  

    Default How to make FilterRow work for internal grid

    How to make FilterRow work for internal grid


    hi ,
    I have two girdPanels, On expanding the first gridpanel, the second gridPanel will pop up.
    If I use FilterRow config to filter the rows, it is filtering rows of only the first grid, but not the second grid.
    Is it possible to apply the same FilterRow to filter the row of second grid also.
    If so how can we achieve it?

    thanks

  2. #982
    Sencha User
    Join Date
    Oct 2009
    Posts
    23
    Vote Rating
    2
    ivanleblanc is on a distinguished road

      1  

    Default Ext JS 4 GridSearch revision

    Ext JS 4 GridSearch revision


    Saki, this GridSearch plugin has by far been the most useful plugin I have used in Ext 3 and want to thank you for your contribution.

    I am moving to Ext 4 and saw that you have not had time yet to port the plugin into Ext 4 so I made a go at it. I hope you don't mind me posting my revisions.

    I created a Grid Feature out of the GridSearch plugin.
    This feature can easily be applied to the Ext 4 grid example array-grid.js and far as I can tell everything seems to work.

    Once the Searching.js file is included you get a ftype "searching".

    Searching.js
    Code:
    // JavaScript Document// vim: ts=4:sw=4:nu:fdc=4:nospell
    /**
     * Search plugin for Ext.grid.GridPanel, Ext.grid.EditorGrid ver. 2.x or subclasses of them
     *
     * @author    Ing. Jozef Sakalos
     * @copyright (c) 2008, by Ing. Jozef Sakalos
     * @date      17. January 2008
     * @version   $Id: Ext.ux.grid.Search.js 220 2008-04-29 21:46:51Z jozo $
     *
     * @license Ext.ux.grid.Search is licensed under the terms of
     * the Open Source LGPL 3.0 license.  Commercial use is permitted to the extent
     * that the code/component(s) do NOT become part of another Open Source or Commercially
     * licensed development library or toolkit without explicit permission.
     * 
     * License details: http://www.gnu.org/licenses/lgpl.html
     */
    
    /*
    	Revised for Ext 4
    	by Nathan LeBlanc
    	on July 8, 2011
    */
    
    Ext.define('Ext.ux.grid.feature.Searching', {
        extend: 'Ext.grid.feature.Feature',
        alias: 'feature.searching',
    
    	/**
    	 * cfg {Boolean} autoFocus true to try to focus the input field on each store load (defaults to undefined)
    	 */
    
    	/**
    	 * @cfg {String} searchText Text to display on menu button
    	 */
    	searchText:'Search',
    
    	/**
    	 * @cfg {String} searchTipText Text to display as input tooltip. Set to '' for no tooltip
    	 */ 
    	searchTipText:'Type a text to search and press Enter',
    
    	/**
    	 * @cfg {String} selectAllText Text to display on menu item that selects all fields
    	 */
    	selectAllText:'Select All',
    
    	/**
    	 * @cfg {String} position Where to display the search controls. Valid values are top and bottom (defaults to bottom)
    	 * Corresponding toolbar has to exist at least with mimimum configuration tbar:[] for position:top or bbar:[]
    	 * for position bottom. Plugin does NOT create any toolbar.
    	 */
    	position:'bottom',
    
    	/**
    	 * @cfg {String} iconCls Icon class for menu button (defaults to icon-magnifier)
    	 */
    	iconCls:'icon-magnifier',
    
    	/**
    	 * @cfg {String/Array} checkIndexes Which indexes to check by default. Can be either 'all' for all indexes
    	 * or array of dataIndex names, e.g. ['persFirstName', 'persLastName']
    	 */
    	checkIndexes:'all',
    
    	/**
    	 * @cfg {Array} disableIndexes Array of index names to disable (not show in the menu), e.g. ['persTitle', 'persTitle2']
    	 */
    	disableIndexes:[],
    
    	/**
    	 * @cfg {String} dateFormat how to format date values. If undefined (the default) 
    	 * date is formatted as configured in colummn model
    	 */
    	dateFormat:undefined,
    
    	/**
    	 * @cfg {Boolean} showSelectAll Select All item is shown in menu if true (defaults to true)
    	 */
    	showSelectAll:true,
    
    	/**
    	 * @cfg {String} menuStyle Valid values are 'checkbox' and 'radio'. If menuStyle is radio
    	 * then only one field can be searched at a time and selectAll is automatically switched off.
    	 */
    	menuStyle:'checkbox',
    
    	/**
    	 * @cfg {Number} minChars minimum characters to type before the request is made. If undefined (the default)
    	 * the trigger field shows magnifier icon and you need to click it or press enter for search to start. If it
    	 * is defined and greater than 0 then maginfier is not shown and search starts after minChars are typed.
    	 */
    
    	/**
    	 * @cfg {String} minCharsTipText Tooltip to display if minChars is > 0
    	 */
    	minCharsTipText:'Type at least {0} characters',
    
    	/**
    	 * @cfg {String} mode Use 'remote' for remote stores or 'local' for local stores. If mode is local
    	 * no data requests are sent to server the grid's store is filtered instead (defaults to 'remote')
    	 */
    	mode:'remote',
    
    	/**
    	 * @cfg {Array} readonlyIndexes Array of index names to disable (show in menu disabled), e.g. ['persTitle', 'persTitle2']
    	 */
    
    	/**
    	 * @cfg {Number} width Width of input field in pixels (defaults to 100)
    	 */
    	width:100,
    
    	/**
    	 * @cfg {Object} paramNames Params name map (defaults to {fields:'fields', query:'query'}
    	 */
    	paramNames: {
    		 fields:'fields'
    		,query:'query'
    	},
    
    	/**
    	 * @cfg {String} shortcutKey Key to fucus the input field (defaults to r = Sea_r_ch). Empty string disables shortcut
    	 */
    	shortcutKey:'r',
    
    	/**
    	 * @cfg {String} shortcutModifier Modifier for shortcutKey. Valid values: alt, ctrl, shift (defaults to alt)
    	 */
    	shortcutModifier:'alt',
    
    	/**
    	 * @cfg {String} align 'left' or 'right' (defaults to 'left')
    	 */
    
    	/**
    	 * @cfg {Number} minLength force user to type this many character before he can make a search
    	 */
    
    	/**
    	 * @cfg {Ext.Panel/String} toolbarContainer Panel (or id of the panel) which contains toolbar we want to render
    	 * search controls to (defaults to this.grid, the grid this plugin is plugged-in into)
    	 */
    			
    	attachEvents: function() {
    		this.grid = this.view.up('gridpanel');
    		if(this.grid.rendered)
    			this.onRender();
    		else
    			this.grid.on('render', this.onRender, this);
    	},	
    	
    	onRender:function() {
    				
    		var panel = this.toolbarContainer || this.grid;
    		var tb = 'bottom' === this.position ? panel.getDockedItems('toolbar[dock="bottom"]') : panel.getDockedItems('toolbar[dock="top"]');
    		if(tb.length > 0)
    			tb = tb[0]
    		else {
    			tb = Ext.create('Ext.toolbar.Toolbar', {dock: this.position});
    			panel.addDocked(tb);
    		}
    
    		// add menu
    		this.menu = Ext.create('Ext.menu.Menu');
    
    		// handle position
    		if('right' === this.align) {
    			tb.add('->');
    		}
    		else {
    			if(0 < tb.items.getCount()) {
    				tb.add('-');
    			}
    		}
    
    		// add menu button
    		tb.add({
    			 text:this.searchText
    			,menu:this.menu
    			,iconCls:this.iconCls
    		});
    
    		// add input field (TwinTriggerField in fact)
    		this.field = Ext.create('Ext.form.TwinTriggerField', {
    			width:this.width,
    			qtip: 'ddd',
    			selectOnFocus:undefined === this.selectOnFocus ? true : this.selectOnFocus,
    			trigger1Cls:'x-form-clear-trigger',
    			trigger2Cls:this.minChars ? 'x-hidden' : 'x-form-search-trigger',
    			onTrigger1Click: Ext.bind(this.onTriggerClear, this),
    			onTrigger2Click: this.minChars ? Ext.emptyFn : Ext.bind(this.onTriggerSearch, this),
    			minLength:this.minLength
    		});
    		
    		// install event handlers on input field
    		this.field.on('render', function() {
    			
    			var qtip = this.minChars ? Ext.String.format(this.minCharsTipText, this.minChars) : this.searchTipText;
    			Ext.QuickTips.register({
    				target: this.field.inputEl,
    				text: qtip
    			});
    			
    			if(this.minChars) {
    				this.field.el.on({scope:this, buffer:300, keyup:this.onKeyUp});
    			}
    
    			// install key map
    			var map = new Ext.KeyMap(this.field.el, [{
    				 key:Ext.EventObject.ENTER
    				,scope:this
    				,fn:this.onTriggerSearch
    			},{
    				 key:Ext.EventObject.ESC
    				,scope:this
    				,fn:this.onTriggerClear
    			}]);
    			map.stopEvent = true;
    		}, this, {single:true});
    
    		tb.add(this.field);
    
    		// reconfigure
    		this.reconfigure();
    
    		// keyMap
    		if(this.shortcutKey && this.shortcutModifier) {
    			var shortcutEl = this.grid.getEl();
    			var shortcutCfg = [{
    				 key:this.shortcutKey
    				,scope:this
    				,stopEvent:true
    				,fn:function() {
    					this.field.focus();
    				}
    			}];
    			shortcutCfg[0][this.shortcutModifier] = true;
    			this.keymap = new Ext.KeyMap(shortcutEl, shortcutCfg);
    		}
    
    		if(true === this.autoFocus) {
    			this.grid.store.on({scope:this, load:function(){this.field.focus();}});
    		}
    	} // eo function onRender
    	// }}}
    	// {{{
    	/**
    	 * field el keypup event handler. Triggers the search
    	 * @private
    	 */
    	,onKeyUp:function() {
    		var length = this.field.getValue().toString().length;
    		if(0 === length || this.minChars <= length) {
    			this.onTriggerSearch();
    		}
    	} // eo function onKeyUp
    	// }}}
    	// {{{
    	/**
    	 * private Clear Trigger click handler
    	 */
    	,onTriggerClear:function() {
    		if(this.field.getValue()) {
    			this.field.setValue('');
    			this.field.focus();
    			this.onTriggerSearch();
    		}
    	} // eo function onTriggerClear
    	// }}}
    	// {{{
    	/**
    	 * private Search Trigger click handler (executes the search, local or remote)
    	 */
    	,onTriggerSearch:function() {
    		if(!this.field.isValid()) {
    			return;
    		}
    		var val = this.field.getValue(),
    			store = this.grid.store,
    			proxy = store.getProxy();
    
    		// grid's store filter
    		if('local' === this.mode) {
    			store.clearFilter();
    			if(val) {
    				store.filterBy(function(r) {
    					var retval = false;
    					this.menu.items.each(function(item) {
    						if(!item.checked || retval) {
    							return;
    						}
    						var rv = r.get(item.dataIndex);
    						rv = rv instanceof Date ? Ext.Date.format(rv, this.dateFormat || r.fields.get(item.dataIndex).dateFormat) : rv;
    						var re = new RegExp(val, 'gi');
    						retval = re.test(rv);
    					}, this);
    					if(retval) {
    						return true;
    					}
    					return retval;
    				}, this);
    			}
    			else {
    			}
    		}
    		// ask server to filter records
    		// your proxy must be a Server proxy
    		else if(proxy instanceof Ext.data.proxy.Server) {
    			// 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 && item.dataIndex) {
    					fields.push(item.dataIndex);
    				}
    			});
    
    			// add fields and query to baseParams of store
    			delete(proxy.extraParams[this.paramNames.fields]);
    			delete(proxy.extraParams[this.paramNames.query]);
    			if (store.lastOptions && store.lastOptions.params) {
    				delete(proxy.lastOptions.params[this.paramNames.fields]);
    				delete(proxy.lastOptions.params[this.paramNames.query]);
    			}
    			if(fields.length) {
    				proxy.extraParams[this.paramNames.fields] = Ext.encode(fields);
    				proxy.extraParams[this.paramNames.query] = val;
    			}
    
    			// reload store
    			store.load();
    		}
    
    	} // eo function onTriggerSearch
    	// }}}
    	// {{{
    	/**
    	 * @param {Boolean} true to disable search (TwinTriggerField), false to enable
    	 */
    	,setDisabled:function() {
    		this.field.setDisabled.apply(this.field, arguments);
    	} // eo function setDisabled
    	// }}}
    	// {{{
    	/**
    	 * Enable search (TwinTriggerField)
    	 */
    	,enable:function() {
    		this.setDisabled(false);
    	} // eo function enable
    	// }}}
    	// {{{
    	/**
    	 * Enable search (TwinTriggerField)
    	 */
    	,disable:function() {
    		this.setDisabled(true);
    	} // eo function disable
    	// }}}
    	// {{{
    	/**
    	 * private (re)configures the plugin, creates menu items from column model
    	 */
    	,reconfigure:function() {
    
    		// {{{
    		// remove old items
    		var menu = this.menu;
    		menu.removeAll();
    
    		// add Select All item plus separator
    		if(this.showSelectAll && 'radio' !== this.menuStyle) {
    			menu.add({
    				xtype: 'menucheckitem',
    				text:this.selectAllText,
    				checked:!(this.checkIndexes instanceof Array),
    				hideOnClick:false,
    				handler:function(item) {
    					var checked = item.checked;
    					item.parentMenu.items.each(function(i) {
    						if(item !== i && i.setChecked && !i.disabled) {
    							i.setChecked(checked);
    						}
    					});
    				}
    			},'-');
    		}
    
    		// }}}
    		// {{{
    		// add new items
    		var columns = this.grid.headerCt.items.items;
    		var group = undefined;
    		if('radio' === this.menuStyle) {
    			group = 'g' + (new Date).getTime();	
    		}
    		
    		Ext.each(columns, function(column) {
    			var disable = false;
    			if(column.text && column.dataIndex && column.dataIndex != '') {
    				Ext.each(this.disableIndexes, function(item) {
    					disable = disable ? disable : item === column.dataIndex;
    				});
    				if(!disable) {
    					menu.add({
    						xtype: 'menucheckitem',
    						text: column.text,
    						hideOnClick: false,
    						group:group,
    						checked: 'all' === this.checkIndexes,
    						dataIndex: column.dataIndex,
    					});
    				}
    			}
    		}, this);
    		// }}}
    		// {{{
    		// check items
    		if(this.checkIndexes instanceof Array) {
    			Ext.each(this.checkIndexes, function(di) {
    				var item = menu.items.find(function(itm) {
    					return itm.dataIndex === di;
    				});
    				if(item) {
    					item.setChecked(true, true);
    				}
    			}, this);
    		}
    		// }}}
    		// {{{
    		// disable items
    		if(this.readonlyIndexes instanceof Array) {
    			Ext.each(this.readonlyIndexes, function(di) {
    				var item = menu.items.find(function(itm) {
    					return itm.dataIndex === di;
    				});
    				if(item) {
    					item.disable();
    				}
    			}, this);
    		}
    		// }}}
    
    	} // eo function reconfigure
    	// }}}
    
    }); // eo extend
    
    // eof
    Code:
    var searching = {
       ftype: 'searching',
       minChars: 2,
       mode: 'local'
    };
    Then in your Grid config (this comes straight from array-grid.js in the examples):
    Code:
     var grid = Ext.create('Ext.grid.Panel', {
            store: store,
            stateful: true,
            stateId: 'stateGrid',
    	features: [searching],
            columns: [
                {
                    text     : 'Company',
                    flex     : 1,
                    sortable : false,
                    dataIndex: 'company'
                }
    ....

  3. #983
    Sencha User
    Join Date
    Dec 2010
    Posts
    12
    Vote Rating
    0
    stevwinata is on a distinguished road

      0  

    Default


    hy Saki, i create store with metadata, i had changed var cm = this.grid.getColumnModel(), the column header can't retrieve(menu list), i init this plugin in metachange...what should i do? thanks..

  4. #984
    Sencha User
    Join Date
    Aug 2010
    Posts
    5
    Vote Rating
    0
    clements is on a distinguished road

      0  

    Default


    Quote Originally Posted by mystik View Post
    Saki,

    Excellent plugin, as always.

    Minor problem, when using IE7 the user cannot seem to filter the results in the following situation,

    - start the app (refresh page)

    - click on the 'Search' menu, deselect 'All', and select 'Company'

    - click on the Search input field, and enter 'marks'

    result: no filtering has happened.

    Apparently, this has something to do with the focus, but can not seem to find how to fix the problem.
    This is still and issue with Internet Explorer 9. And, you can see it on the demo page http://gridsearch.extjs.eu/.

    To reproduce: Load demo page using IE 9, click Search button, uncheck a column, click on Search textfield. Enter text and nothing happens.

    I confirmed that the KeyUp event is never fired.

  5. #985
    Sencha User
    Join Date
    Jul 2011
    Posts
    1
    Vote Rating
    0
    Juanyong is on a distinguished road

      0  

    Lightbulb Multi page grid search

    Multi page grid search


    Greetings, I am facing problem while using search plugin in multi page result table, it only look up the current page instead of all records, below is my settings, please kindly advise, thanks in advance!

    GridTable.Grid1 = Ext.extend(Ext.grid.EditorGridPanel, {
    // defaults - can be changed from outside
    layout:'fit'
    ,border:true
    ,stateful:false
    ,width:730
    ,autoHeight:true



    ,plugins:[new Ext.ux.grid.Search({
    searchText: 'Search'
    ,iconCls: false
    ,minChars:2
    ,disableIndexes:['endDate','effectiveDate','grantAccess','denyAccess']
    ,mode: 'local'
    ,autoFocus:true
    ,dateFormat: 'd m Y H:i'
    ,position: 'bottom'
    })]

  6. #986
    Sencha User
    Join Date
    Jul 2011
    Posts
    17
    Vote Rating
    -1
    Ixtinkt is an unknown quantity at this point

      0  

    Default remote search

    remote search


    Hi to all. I am nooby in ExtJs, that is why I can't find answer on my question. Here is my code
    PHP Code:
    var cardsStore = new Ext.data.GroupingStore({
                                    
                                    
    url 'scripts/getCardsList.php',
                                    
    reader : new Ext.data.JsonReader({
                                        
    root:'rows',
                                        
    id:'id',
                                        
    totalProperty 'results'
                                    
    },[
                                        
    'id',
                                        
    'prefix',
                                        
    'description'
                                    
    ]),
                                    
    baseParams : {
                                        
    group_id record.id    
                                    
    }
                                });
                                
    cardsStore.load();
                                var 
    cardsGrid = new Ext.grid.EditorGridPanel({
                                    
    storecardsStore,
                                    
    clicksToEdit '1',
                                    
    autoExpandColumn 'description',
                                    
    columns : [
                                        {
    header lng.Headers.Groups.CardGroups.CardIDdataIndex 'id'},
                                        {
    header lng.Headers.Groups.CardGroups.PrefixdataIndex 'prefix'sortable true,editorCardFieldEdit},
                                        {
    header lng.Headers.Groups.CardGroups.DescriptiondataIndex 'description'id 'description'editorCardFieldEdit}
                                    ],
                                    
    sm: new Ext.grid.RowSelectionModel({
                                        
    singleSelecttrue
                                    
    }),
                                    
    listeners : {
                                        
    afteredit : function(e){
                                            var 
    conn = new Ext.data.Connection();
                                            
    conn.request({
                                                
    url 'scripts/groups_Operation.php',
                                                
    params : {
                                                    
    action 'update',
                                                    
    id e.record.data.id,
                                                    
    field e.record.fields.keys[e.column],
                                                    
    value e.value,
                                                    
    func 'Cards'
                                                
    },
                                                
    success : function(resp,opt){
                                                    
    Ext.getCmp('groupCards-statusbar').setText(lng.Success.ChngsApply); //изменения применены
                                                    
    e.record.commit();       
                                                },
                                                
    failure : function(resp,opt){
                                                    
    Ext.getCmp('groupCards-statusbar').setText(lng.Errors.Error); //изменения применены
                                                    
    e.record.reject();       
                                                }
                                            });
                                        } 
                                    },
                                    
    bbar: new Ext.PagingToolbar({
                                        
    pageSize9,
                                        
    storecardsStore
                                    
    }),
                                    
    plugins: [new Ext.ux.grid.Search({
                                        
    searchText'Поиск',
                                        
    mode 'local',
                                        
    dateFormat:'m/d/Y',
                                        
    iconClsfalse,
                                        
    minChars:1,
                                        
    position'bottom',
                                        
    deferredRender:true
                                    
    })]
                                }); 
    Problem is that it can't work remotely. Data in grid displays in different pages, but search occurs on the current page. I tried to change mode to 'remote' - searching doesn't work. How to resolve this problem. If this topik already discussed sorry and please give the link on discussing page. Thks in advance!

  7. #987
    Sencha User
    Join Date
    Jul 2011
    Location
    Los Angeles, CA
    Posts
    4
    Vote Rating
    0
    jadiagaurang is on a distinguished road

      0  

    Question Using Plugin outside Grid

    Using Plugin outside Grid


    Thanks for writing really useful plugin. But, I want to use this plugin outside Grid Toolbar. I want to place search textbox above and below the grid.

    Is it possible t render this plugin outside grid toolbar, somewhere else on page?

    Thanks,
    Gaurang

  8. #988
    Sencha User
    Join Date
    Oct 2009
    Posts
    23
    Vote Rating
    2
    ivanleblanc is on a distinguished road

      0  

    Default


    To Juanyong:

    I would imaging its because you have
    Code:
    mode: 'local'
    When paging you only have the current page's data in cache. So if you are using mode local you will only search the current page.
    Setting:
    Code:
    mode: 'remote'
    would cause the search to hit the server for a search which is what you want if your paging it using remote.

  9. #989
    Sencha User
    Join Date
    Oct 2009
    Posts
    23
    Vote Rating
    2
    ivanleblanc is on a distinguished road

      0  

    Default


    Quote Originally Posted by Ixtinkt View Post
    Hi to all. I am nooby in ExtJs, that is why I can't find answer on my question. Here is my code
    PHP Code:
    var cardsStore = new Ext.data.GroupingStore({
                                    
                                    
    url 'scripts/getCardsList.php',
                                    
    reader : new Ext.data.JsonReader({
                                        
    root:'rows',
                                        
    id:'id',
                                        
    totalProperty 'results'
                                    
    },[
                                        
    'id',
                                        
    'prefix',
                                        
    'description'
                                    
    ]),
                                    
    baseParams : {
                                        
    group_id record.id    
                                    
    }
                                });
                                
    cardsStore.load();
                                var 
    cardsGrid = new Ext.grid.EditorGridPanel({
                                    
    storecardsStore,
                                    
    clicksToEdit '1',
                                    
    autoExpandColumn 'description',
                                    
    columns : [
                                        {
    header lng.Headers.Groups.CardGroups.CardIDdataIndex 'id'},
                                        {
    header lng.Headers.Groups.CardGroups.PrefixdataIndex 'prefix'sortable true,editorCardFieldEdit},
                                        {
    header lng.Headers.Groups.CardGroups.DescriptiondataIndex 'description'id 'description'editorCardFieldEdit}
                                    ],
                                    
    sm: new Ext.grid.RowSelectionModel({
                                        
    singleSelecttrue
                                    
    }),
                                    
    listeners : {
                                        
    afteredit : function(e){
                                            var 
    conn = new Ext.data.Connection();
                                            
    conn.request({
                                                
    url 'scripts/groups_Operation.php',
                                                
    params : {
                                                    
    action 'update',
                                                    
    id e.record.data.id,
                                                    
    field e.record.fields.keys[e.column],
                                                    
    value e.value,
                                                    
    func 'Cards'
                                                
    },
                                                
    success : function(resp,opt){
                                                    
    Ext.getCmp('groupCards-statusbar').setText(lng.Success.ChngsApply); //изменения применены
                                                    
    e.record.commit();       
                                                },
                                                
    failure : function(resp,opt){
                                                    
    Ext.getCmp('groupCards-statusbar').setText(lng.Errors.Error); //изменения применены
                                                    
    e.record.reject();       
                                                }
                                            });
                                        } 
                                    },
                                    
    bbar: new Ext.PagingToolbar({
                                        
    pageSize9,
                                        
    storecardsStore
                                    
    }),
                                    
    plugins: [new Ext.ux.grid.Search({
                                        
    searchText'Поиск',
                                        
    mode 'local',
                                        
    dateFormat:'m/d/Y',
                                        
    iconClsfalse,
                                        
    minChars:1,
                                        
    position'bottom',
                                        
    deferredRender:true
                                    
    })]
                                }); 
    Problem is that it can't work remotely. Data in grid displays in different pages, but search occurs on the current page. I tried to change mode to 'remote' - searching doesn't work. How to resolve this problem. If this topik already discussed sorry and please give the link on discussing page. Thks in advance!
    What do you mean searching doesn't work?
    When mode is set to 'remote' the plugin reloads you store with the extra parameters of the filter applied to the load call.
    You have to handle the filtering on your server side. The plugin will just give you the parameters you need to do so.

  10. #990
    Sencha User
    Join Date
    Jul 2011
    Posts
    17
    Vote Rating
    -1
    Ixtinkt is an unknown quantity at this point

      0  

    Default


    ivanleblanc, thanks for answer. Do you met some examples of server side using of this params?

Thread Participants: 244

  1. franklt69 (5 Posts)
  2. galdaka (2 Posts)
  3. thameema (1 Post)
  4. Dumbledore (3 Posts)
  5. JeffBurr (1 Post)
  6. berend (1 Post)
  7. mystix (1 Post)
  8. salvi (1 Post)
  9. cobnet (1 Post)
  10. dawesi (2 Posts)
  11. mysticav (3 Posts)
  12. mike1993 (3 Posts)
  13. JorisA (1 Post)
  14. cricri (5 Posts)
  15. apaa (1 Post)
  16. mbstroz (5 Posts)
  17. notjoshing (1 Post)
  18. MeDavid (1 Post)
  19. AlxH (1 Post)
  20. pantarhei (5 Posts)
  21. DeeZ (3 Posts)
  22. NBRed5 (2 Posts)
  23. zoq (2 Posts)
  24. ajaxE (4 Posts)
  25. cmendez21 (1 Post)
  26. Ronaldo (1 Post)
  27. mjlecomte (25 Posts)
  28. smokeman (11 Posts)
  29. Nam (4 Posts)
  30. keithnlarsen (2 Posts)
  31. rednix (2 Posts)
  32. expertmo (4 Posts)
  33. cking (1 Post)
  34. jelt (4 Posts)
  35. bcamp1973 (2 Posts)
  36. grgur (2 Posts)
  37. dwt11 (1 Post)
  38. michiel (3 Posts)
  39. Shmoo (3 Posts)
  40. evilized (1 Post)
  41. fangstern (1 Post)
  42. vishalg (3 Posts)
  43. Strati (1 Post)
  44. ArtBuilders (6 Posts)
  45. dax (5 Posts)
  46. thatcoder (7 Posts)
  47. jcar98 (1 Post)
  48. derbbre (3 Posts)
  49. wm003 (1 Post)
  50. garraS (3 Posts)
  51. kenshin (1 Post)
  52. ByteLess (2 Posts)
  53. Lobos (1 Post)
  54. a4 (1 Post)
  55. durlabh (3 Posts)
  56. elDub (1 Post)
  57. rstuven (1 Post)
  58. crpatrick (4 Posts)
  59. zedisdead (1 Post)
  60. vector4711 (1 Post)
  61. oanimashaun (1 Post)
  62. donssmith (3 Posts)
  63. sanjshah (5 Posts)
  64. nielsendev (2 Posts)
  65. Jika (2 Posts)
  66. Cooldream (2 Posts)
  67. iTzAngel (1 Post)
  68. franck34 (2 Posts)
  69. paubach (2 Posts)
  70. stewart (1 Post)
  71. teknaut (4 Posts)
  72. pjesus (2 Posts)
  73. NotChris (5 Posts)
  74. juicymedia (2 Posts)
  75. v496820 (2 Posts)
  76. hazooma (1 Post)
  77. obbakilla (1 Post)
  78. BlueCamel (1 Post)
  79. feodor (1 Post)
  80. w3bbuilder (1 Post)
  81. johnsbrn (1 Post)
  82. razor (1 Post)
  83. seppy (3 Posts)
  84. stefanorg (3 Posts)
  85. jimkan (1 Post)
  86. kenja (2 Posts)
  87. sandy (1 Post)
  88. eri.TsingTao (1 Post)
  89. rainydays (1 Post)
  90. iLiketoGrid (1 Post)
  91. Shaguar (8 Posts)
  92. AMS949 (3 Posts)
  93. moegal (3 Posts)
  94. aleczapka (2 Posts)
  95. Stripeman (6 Posts)
  96. abhaysingh (5 Posts)
  97. mango (1 Post)
  98. NoahK17 (3 Posts)
  99. Remy (1 Post)
  100. medley (11 Posts)
  101. stevchen (1 Post)
  102. abraxxa (28 Posts)
  103. Efex (3 Posts)
  104. Rotomaul (2 Posts)
  105. miihiir (4 Posts)
  106. nebbian (1 Post)
  107. Riri (6 Posts)
  108. catalina (1 Post)
  109. Bing Qiao (1 Post)
  110. juferoto (2 Posts)
  111. bk1 (2 Posts)
  112. sami_user (1 Post)
  113. dmcclean (2 Posts)
  114. Pink.ME (3 Posts)
  115. sebrand (1 Post)
  116. charak (2 Posts)
  117. charleshimmer (16 Posts)
  118. patrosmania (4 Posts)
  119. rosecorp (1 Post)
  120. johrisd (1 Post)
  121. aomadevelopers (1 Post)
  122. nicola_java (1 Post)
  123. BitPoet (1 Post)
  124. OliverT (3 Posts)
  125. randomuser01 (2 Posts)
  126. schone (3 Posts)
  127. perdar (1 Post)
  128. ajain (3 Posts)
  129. getindas (1 Post)
  130. giega (1 Post)
  131. ryanyoungsma (1 Post)
  132. ph0enix (1 Post)
  133. italianboy (1 Post)
  134. LutzAlbers (3 Posts)
  135. Ajish (2 Posts)
  136. christophe67 (1 Post)
  137. jmariani (4 Posts)
  138. wki01 (4 Posts)
  139. wemerson.januario (1 Post)
  140. viciuascuns (4 Posts)
  141. JohnnyWheels (1 Post)
  142. nar (3 Posts)
  143. shab (2 Posts)
  144. mystik (1 Post)
  145. unnamed_dev (1 Post)
  146. ScottLoney (3 Posts)
  147. whodat (4 Posts)
  148. Alex84 (7 Posts)
  149. mjmonserrat (3 Posts)
  150. andy_ghg (2 Posts)
  151. knappy (1 Post)
  152. bareflix (2 Posts)
  153. makiavelli (1 Post)
  154. daniel_82 (1 Post)
  155. peteryjk (2 Posts)
  156. michael.pedrotti (1 Post)
  157. elona (3 Posts)
  158. chinnapandu (1 Post)
  159. jsundquist (6 Posts)
  160. feo (1 Post)
  161. dubito (2 Posts)
  162. Georgioa (1 Post)
  163. SchattenMann (4 Posts)
  164. Relleum (1 Post)
  165. ivan.kristianto (3 Posts)
  166. yeyepot (1 Post)
  167. raydeen (1 Post)
  168. easycodes (4 Posts)
  169. rockinrandall (5 Posts)
  170. redcs (3 Posts)
  171. hatsu1119 (1 Post)
  172. surendra_leo (1 Post)
  173. ssawchenko (11 Posts)
  174. Sigma (3 Posts)
  175. Lmouse (1 Post)
  176. Spongerusher (1 Post)
  177. ValiBOSS (1 Post)
  178. joe123 (3 Posts)
  179. scooter (3 Posts)
  180. harsha_velicheti (1 Post)
  181. ivanleblanc (9 Posts)
  182. m4v0 (3 Posts)
  183. jbusuulwa (1 Post)
  184. seedeg (6 Posts)
  185. Z24_2000 (3 Posts)
  186. markw (2 Posts)
  187. atutus (2 Posts)
  188. luke82 (3 Posts)
  189. rameshkt (2 Posts)
  190. elgalle (2 Posts)
  191. Vepe (2 Posts)
  192. barser (2 Posts)
  193. metra (5 Posts)
  194. hotdesc (4 Posts)
  195. chrislovecnm (1 Post)
  196. King_Aero (1 Post)
  197. idefix (5 Posts)
  198. daiei27 (3 Posts)
  199. LostSoul (2 Posts)
  200. tumbochka (3 Posts)
  201. Dipish (7 Posts)
  202. mcafee (1 Post)
  203. alexpotemkin (1 Post)
  204. ruperty (5 Posts)
  205. Rbn_3d (2 Posts)
  206. rxopt (1 Post)
  207. mayurid (1 Post)
  208. jeroen_syntux (2 Posts)
  209. aminaq (4 Posts)
  210. sosy (3 Posts)
  211. asafm (2 Posts)
  212. extjs1111_user (4 Posts)
  213. scottmartin (2 Posts)
  214. clements (1 Post)
  215. wavedan (3 Posts)
  216. jizhang88 (2 Posts)
  217. Coil (2 Posts)
  218. Samuel.reed (6 Posts)
  219. sense.nda12 (1 Post)
  220. zoja (1 Post)
  221. andyproxis (1 Post)
  222. baldeep_bhatia (1 Post)
  223. stevwinata (1 Post)
  224. Patrick86 (1 Post)
  225. dumpf (3 Posts)
  226. parimala (3 Posts)
  227. vicvolk (4 Posts)
  228. preichow (1 Post)
  229. shaoming (1 Post)
  230. Ixtinkt (7 Posts)
  231. jadiagaurang (1 Post)
  232. Juanyong (1 Post)
  233. venkateshns (1 Post)
  234. panpur (3 Posts)
  235. codeart.ch (2 Posts)
  236. hieu79vn (1 Post)
  237. mvsrekha (2 Posts)
  238. aislan (1 Post)
  239. buhari (1 Post)
  240. extjsquicklearner (1 Post)
  241. shankar8rajah1 (1 Post)
  242. jacinth_1215 (2 Posts)
  243. venkikodakirthi (1 Post)
  244. bwgv (1 Post)

Tags for this Thread