[CLOSED] Header filters and remote paging

  1. #1

    [CLOSED] Header filters and remote paging

    Hi,

    I have store that does remote paging and header filtering. Things go bad when I try to page a header filtered result.
    The "next page" doesn't honor the filters and passes an "empty" filter...




    I have a store:
         <Store>                    <ext:Store runat="server" ID="storeActivities" IDMode="Explicit" RemotePaging="true"
                            RemoteSort="true"  >
                            <AutoLoadParams>
                                <ext:Parameter Name="start" Value="0" Mode="Raw" />
                                <ext:Parameter Name="limit" Value="13" Mode="Raw" /> 
                            </AutoLoadParams>
                            <BaseParams>
                                <ext:Parameter Name="start" Value="0" Mode="Raw" />
                                <ext:Parameter Name="limit" Value="13" Mode="Raw" />
                                <ext:Parameter Name="sort" Value="" />
                                <ext:Parameter Name="dir" Value="" />
                                <ext:Parameter Name="filter" Value="getFilters()" Mode="Raw" />
                            </BaseParams>
                            <Proxy>
                                <ext:HttpProxy Method="POST" Url="Handlers/ActivityInProgressHandler.ashx"  AutoAbort="true"/>
                            </Proxy>

    I 'm using header filters and everything works great, until I try to page the results.

    The line in my ashx handler for the "filter" parameter comes back as empty.

          //-- start filtering ------------------------------------------------------------
                    if ( !string.IsNullOrEmpty(filter) ) <=== COMES BACK EMPTY, DOES'T RECALL THE FILTERS
    
                    { 
                        FilterConditions fc = new FilterConditions(filter);
    
    
                        foreach ( FilterCondition condition in fc.Conditions )
                        {
                    
                            Ext.Net.Comparison comparison = condition.Comparison;
                            string field = condition.Name;
                            FilterType type = condition.FilterType;
    Last edited by Daniil; Oct 18, 2011 at 1:35 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Well, seems it works fine here:
    https://examples1.ext.net/#/GridPane...ilters_Remote/

Similar Threads

  1. Replies: 11
    Last Post: Jun 13, 2012, 4:53 PM
  2. [CLOSED] Server-side filter, using Header filters
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Aug 11, 2011, 5:01 PM
  3. [CLOSED] Remote Load of Nodes and configured filters
    By macap in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 03, 2011, 1:55 PM
  4. Replies: 16
    Last Post: Feb 23, 2011, 10:03 AM
  5. Replies: 6
    Last Post: Nov 20, 2008, 5:48 AM

Posting Permissions