Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    Jul 2010
    Posts
    7
    Vote Rating
    0
    apoola is on a distinguished road

      0  

    Default Using filters in EditorGrid with PHP

    Using filters in EditorGrid with PHP


    Hi,
    I am trying to use filters in the editor grid example with PHP on the server side. The following code is the way I am invoking the filter feature.


    Code:
            final PagingLoader<PagingLoadResult<User>> loader = new BasePagingLoader<PagingLoadResult<User>>(
                    proxy, reader)
                    {
                @Override
                protected Object newLoadConfig() {
                    BasePagingLoadConfig config = new BaseFilterPagingLoadConfig();
                    return config;
                }
    
            };
    I checked the post (through firebug) and it sends the following URL

    Code:
    sortField=username&sortDir=ASC&offset=30&limit=10&start=30&pagesize=10&sort=username&dir=ASC&action=Edit&editfieldname=username&editfieldvalue=Lamb, Kamal Z. rerer&recordid=49&filters=[com.extjs.gxt.ui.client.data.BaseStringFilterConfig@133, com.extjs.gxt.ui.client.data.BaseStringFilterConfig@134]
    I noticed the post sends "filters" variable, which I did not set explicitly, like you would do with (BasePagingLoadConfig) m.set("start",m.get("offset"));

    My questions is: how do I make it send filter field name and value instead of the address (guessing com.extjs.gxt.ui.client.data.BaseStringFilterConfig@134 is the address), so that I could use it my PHP code. I could set a variable for the field name and a variable for the value so that PHP can process filter in the query. However, if the filters value is already being passed I could use it and make the code simpler and more generic.

    Any help would be greatly appreciated.

    Thanks,

  2. #2
    Ext User
    Join Date
    Jul 2010
    Posts
    7
    Vote Rating
    0
    apoola is on a distinguished road

      0  

    Default


    Sorry, meant to post in GXT..I'll repost it there

Similar Threads

  1. PHP source code of forums-remote.php
    By mazdov in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 2 May 2013, 3:38 AM
  2. EditorGrid - working example (php/mysql backend)
    By mjlecomte in forum Ext 2.x: Help & Discussion
    Replies: 269
    Last Post: 23 Jun 2011, 6:52 AM
  3. sessions: from php to extjs & php
    By sicher in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 9 Apr 2009, 7:16 AM
  4. EditorGrid - working example (php/postgres backend)
    By tonig84 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 28 Feb 2008, 8:38 AM
  5. I want build a EditorGrid with PHP and MySQL
    By xmatt1 in forum Ext 1.x: Help & Discussion
    Replies: 9
    Last Post: 22 Aug 2007, 9:45 AM

Tags for this Thread