1. #61
    Sencha User
    Join Date
    May 2010
    Posts
    6
    Vote Rating
    0
    jccardenas is on a distinguished road

      0  

    Default


    Hi, as long as the store is called an refreshed, the plugin work is done, so you should debug what parameters are being sent to the query, and what response you are getting. I think your problem resides in the server-query-response part.

  2. #62
    Sencha User
    Join Date
    Jan 2012
    Posts
    7
    Vote Rating
    0
    Bonsai media is on a distinguished road

      0  

    Default


    Ah, just opened it up in Firebug and indeed, I see the filter parameters being put in the requested store URL. I can indeed process the sent filters in my .NET / PHP script. But, didn't this plugin formerly do this completely client-side?

  3. #63
    Sencha User
    Join Date
    May 2010
    Posts
    6
    Vote Rating
    0
    jccardenas is on a distinguished road

      0  

    Default


    Hi, sorry if I can't help you in more detail, I just finished adapting the 4.1 implementation of this plugin, but the original authors know a lot more than me in details like what you are asking for.

    But I think that the plugin relays in the store configuration, so if your store o grid use querymode local, your grid will work doing client-side filtering, and so will do the filterrow. Filterrow itself doesn't change in that case, just uses what you provide as grid / store.

  4. #64
    Sencha User
    Join Date
    Jan 2012
    Posts
    7
    Vote Rating
    0
    Bonsai media is on a distinguished road

      0  

    Default


    OK, I was able to get this to work properly in the end, using my server-side scripts. Works like a charm and in the end it's better since now there are no more large resultsets being parsed which get truncated/filtered client-side anyway.

    There is one more thing that caught my attention though., In my grid I have a boolean column with custom trueText and falseText properties. I notice the filter plugin doesn't work with these custom true and false text properties, but requires me to literally type 'true' or 'false' in the filter textbox.

  5. #65
    Sencha User
    Join Date
    Jun 2012
    Posts
    1
    Vote Rating
    0
    jha.prashant is on a distinguished road

      0  

    Default Need help to implement this on local store....

    Need help to implement this on local store....


    I am using this plug-in with 4.1 version.I can see the filter text box in my grid.But when I enter some value and pressing enter I can see some query string appended with my request for server call.It is not handled on my service. So can any one tell me how to implement it on local store...if possible also provide the code snippet, I am using .Net...

    Thanks in advance...

  6. #66
    Ext JS Premium Member
    Join Date
    Jan 2011
    Posts
    52
    Vote Rating
    0
    davidryan is on a distinguished road

      0  

    Default


    When integrating this I was receiving the following error once I set a column to nofilter:true (e.g. actioncolumn):

    Code:
    'getValue is not a function'
    


    The code I am using is based on jccardenas. The fix I applied was to check for a col.nofilter before:

    Code:
        
    getSearchValues:function () {
    
    
            var values = {};
            this.eachColumn(function (col) {
                // CHANGE: only send populated fields
                if (!col.nofilter) {
                    if (col.xfilterField.getValue() != '') {
                        if (col.xfilterField && col.xfilterField.xtype != 'component') {
                            values[col.dataIndex] = col.xfilterField.getValue();
                        }
                    }
                }
            });
    
    
    
    
            // CHANGE: converted to JSON to send 1 param
            return Ext.JSON.encode(values);
        },
    

    There might be a cleaner approach, but this worked for me. Hope it helps.

  7. #67
    Ext JS Premium Member
    Join Date
    Jan 2011
    Posts
    52
    Vote Rating
    0
    davidryan is on a distinguished road

      0  

    Default


    This plugin does not work with a grid that uses Ext.selection.CheckboxModel. I tried to load the plugin after the grid had been rendered, and that appeared to add the xfilterField constructor, but I was still unable to access the functions.

    I hit a problem at:

    Code:
                    if (col.xfilterField.getValue() != '') {

    has no method 'getValue'

    Any suggestions?


  8. #68
    Sencha Premium Member zonereseau's Avatar
    Join Date
    Jan 2008
    Location
    Sherbrooke, QC
    Posts
    36
    Vote Rating
    5
    zonereseau is on a distinguished road

      0  

    Default


    Hi...

    I've just create a new thread with a full example of my last version for Ext 4.1.3

    I added feature such as Group heading support.

    http://www.sencha.com/forum/showthre...839#post911839

Similar Threads

  1. Grid FilterRow
    By Surinder singh in forum Ext 3.x: User Extensions and Plugins
    Replies: 5
    Last Post: 17 Aug 2011, 7:12 PM
  2. GridPanel with FilterRow and Locking
    By taxidriver in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 7 Sep 2010, 4:16 AM
  3. ListView and filterRow
    By btogkas in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 7 Sep 2010, 3:23 AM
  4. Add FilterRow to ListViews
    By taxidriver in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 2 Sep 2010, 4:27 AM
  5. FilterRow in ListViews
    By taxidriver in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 1 Sep 2010, 5:52 AM

Thread Participants: 19

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi