Results 1 to 2 of 2

Thread: Cannot filter a grid in ExtJs 5.1 using class Ext.data.Store

  1. #1

    Default Cannot filter a grid in ExtJs 5.1 using class Ext.data.Store

    Im trying to search a word and filter by this, sending the filter as parameters to server.

    I allways did this modifying the property params in the load method of the store. Like this

    store.load({params : {filter : 'ACOSTA', field : 'NOMBRE'}});

    The sentence have to make this call like allways did using ExtJs 4.x

    http://localhost/Sueldos/php/app.php...22NOMBRE%22%5D

    but now with ExtJs 5.1 the call is this:

    http://localhost/Sueldos/php/app.php/AbmLegajos/Find

    No parameters!!! Where are they? This call produce and error in PHP

    Can any body help me. I saw similar problems with buffered store, this happend with the class Ext.data.Store.

    Thanks for all. Fabin.

  2. #2
    Sencha User
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    446

    Default

    Hi Fabian--

    Can you share the configuration of your store? Your example is working for me:

    https://fiddle.sencha.com/#fiddle/noo

    Thanks!
    Joel

Similar Threads

  1. Replies: 13
    Last Post: 6 Oct 2016, 6:37 AM
  2. Replies: 5
    Last Post: 24 Apr 2015, 5:09 AM
  3. Replies: 1
    Last Post: 4 Dec 2013, 12:43 PM
  4. Data Grid Local Filter with the values of a Data Store
    By pathum in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 16 Mar 2011, 5:23 AM
  5. [SOLVED] How to filter a grid or a data store on a foreign key
    By lpastor in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 29 Aug 2009, 2:43 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •