Hi, great Plugin!!!
i have a case when i hide a column in grid in that event i uncheck checkbox menu of search and it doesnt show the data for same column on search, but
similarly,when i show the same column in that event i check the unchecked column..
For first scenario it works fine ,but sometimes for second case it suddenly stops searching...on onKeyUp function stops taking characters i.e, grid search stops working...
Any ideas why?? I have been trying to find a work around,I am using mode local for plugin...
Thanks for the reply ...
this is how i implemented..
also i have implemented auto state maintainence....for menu
var gridStateId = this.grid.stateId;
this.menu = new Ext.menu.Menu({
id:'gridMenu', //id assigned for menu
listeners:{
render:function(){
var colState = null; // code for setting checked and uncheck from cookie auto state
var cookie = Ext.state.Manager.getProvider();
var gridState = cookie.get(gridStateId);
if(gridState != null || typeof gridState != 'undefined')
{
var gridColumnState = gridState.columns;
var menuId = Ext.getCmp('gridMenu');
note :- setting of indexing is done pertaining to my requirement it wont give desirable result everywhere!!!
Everything works fine except when after hiding when i again show column it stops working sometimes...i have to double click at field area to start it functioning again...
I have implemented it in 5 grids...I dont think this is due to id 'gridmenu' because when i am changing in one grid change doesn't gets reflected in other grids......
render listener i have used because this is the closest listener i have found to be called everytime the page gets refresh.......
after debugging i found that if i press clear button before searching it works fine every time so if have added this
but still it sometimes doesnt work
,onTriggerSearch:function() {
if(!this.field.isValid()) {
return;
}
var val = this.field.getValue();
var store = this.grid.store;
this.menu.fireEvent('render'); // just to make sure all desired menus r checked and unchecked....
1.) Are you talking about this thread (GridSearch) or about GridFilter?
2.) In any case, convert everything (web page, server scripting and database texts) to UTF-8 and all your problems will be gone. I use GridSearch in Slovakia, we have accented characters too and I'm not experiencing any encoding troubles.
Hi,
One question relationed with the second point.
I have seen that the plugin get like differents words with or without accent.
In your test page for the plugin I've tested to diferents words "hola" and "holá" and if you serach for one, the other doesn't appear.
Is it posible get the two words when I search for one?? It's like ignore the differences about the accent.