[OPEN] paging problems with filters

  1. #1

    [OPEN] paging problems with filters

    Hi there,

    When i use GridFilters on a gridpanel the bbar doesn't update the numbers of pages. Is this a bug?

    Thanks

    Lex
  2. #2

    RE: [OPEN] paging problems with filters

    Hi Lex,

    I tried to reproduce the error but could not. In my example, the number of pages updated correctly (i used trunk\Coolite.Sandbox\GridPanel\GridFilters\GridFi ltersRemote.aspx example). Can you post your example and steps to reproduce error?


  3. #3

    RE: [OPEN] paging problems with filters

    I don't use the remote filtering, i use the local one.

    Here's the code:
    <ext:Store ID="stErogazioni" runat="server">
        <Reader>
            <ext:JsonReader ReaderID="ID_EROGAZIONE">
                <Fields>
                    <ext:RecordField Name="ID_EROGAZIONE" />
                    <ext:RecordField Name="TITOLO_SONDAGGIO" />
                    <ext:RecordField Name="DESCR_EROG" />
                    <ext:RecordField Name="DATAINS_EROG" />
                    <ext:RecordField Name="DATASCAD_EROG" />
                    <ext:RecordField Name="IMG" />
                    <ext:RecordField Name="STATO_EROG" />
                </Fields>
            </ext:JsonReader>
        </Reader>
    </ext:Store>
    <ext:GridPanel AutoHeight="true" Collapsible="true"
        runat="server" ID="gpErogazioni" Title="Erogazioni" Frame="true" StoreID="stErogazioni">
        <ColumnModel ID="ColumnModel1" runat="server">
            <Columns>
                <ext:Column DataIndex="ID_EROGAZIONE" Header="ID_erogazione" Hidden="true" Width="150" />
                <ext:Column DataIndex="TITOLO_SONDAGGIO" Header="Titolo del sondaggio" Width="200" />
                <ext:Column DataIndex="DESCR_EROG" Header="Descrizione Erogazione" Width="200" />
                <ext:Column DataIndex="DATAINS_EROG" Header="Data erogazione" Width="185">
                </ext:Column>
                <ext:Column DataIndex="DATASCAD_EROG" Header="Data scadenza" Width="185" />
                <ext:Column DataIndex="IMG" Header="Completato" Width="100" Align="Center">
                </ext:Column>
            </Columns>
        </ColumnModel>
        <LoadMask ShowMask="true" />
        <Plugins>
            <ext:GridFilters runat="server" ID="GridFilters1" Local="true">
                <Filters>
                    <ext:NumericFilter DataIndex="ID_EROGAZIONE" />
                    <ext:StringFilter DataIndex="TITOLO_SONDAGGIO" />
                    <ext:StringFilter DataIndex="DESCR_EROG" />
                    <ext:DateFilter DataIndex="DATAINS_EROG">
                    <DatePickerOptions runat="server" TodayText="Now" />
                    </ext:DateFilter>
                    <ext:DateFilter DataIndex="DATASCAD_EROG">
                    <DatePickerOptions runat="server" TodayText="Now" />
                    </ext:DateFilter>
                    <ext:ListFilter DataIndex="IMG" Options="<img src=../Coolite/icons/report_edit.png />,<img src=../Coolite/icons/accept.png />,<img src=../Coolite/icons/report_go.png />,<img src=../Coolite/icons/Lock.png />" />
                </Filters>
            </ext:GridFilters>
        </Plugins>
        <SelModel>
            <ext:RowSelectionModel></ext:RowSelectionModel>
        </SelModel>
        <Bbar>
            <ext:PagingToolBar ID="PagingSondaggi" runat="server" 
                PageSize="10" 
                StoreID="stErogazioni"
                DisplayInfo="true"
                DisplayMsg="Erogazioni visualizzate {0} - {1} of {2}"
                EmptyMsg="Nessuna erogazione presente" />
        </Bbar>
        <Buttons>
            <ext:Button AutoPostBack=false ID="btnMod_erog" runat="server" Text="Modifica" Icon="ApplicationEdit">
            </ext:Button>
            <ext:Button AutoPostBack=false ID="btnDel_erog" runat="server" Text="Elimina" icon="delete">
            </ext:Button>
            <ext:Button AutoPostBack=false id="btnEroga_erog" runat="server" Text="Eroga">
            </ext:Button>
        </Buttons>
    </ext:GridPanel>
    Thanks

    Lex
  4. #4

    RE: [OPEN] paging problems with filters

    Hi Lex,

    Today we investigated this local Paging+Filtering feature and currently it is not supported. At this time, only remote Paging+Filtering is supported.


    To get local/client Paging+Filtering working is tricky with the current code-base. I've flagged this as a priority feature we need to implement, although the time-frame until something would be available is unknown.*


    Geoffrey McGill
    Founder
  5. #5

    RE: [OPEN] paging problems with filters

    Hi there,

    any news?

    Lex
  6. #6

    RE: [OPEN] paging problems with filters



    Hi,

    Can you give us a timeframe for this update ? Woulb be in the 0.7 release or later ?

    Thks
  7. #7

    RE: [OPEN] paging problems with filters

    Moved to Bugs forum.

    We will be looking into a fix.


    Geoffrey McGill
    Founder

Similar Threads

  1. Replies: 3
    Last Post: Jan 12, 2012, 3:26 PM
  2. [CLOSED] Header filters and remote paging
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 12, 2011, 7:48 PM
  3. Replies: 1
    Last Post: Jul 23, 2010, 10:02 PM
  4. Filters for DataView?
    By shaun in forum 1.x Help
    Replies: 10
    Last Post: Jul 24, 2009, 5:05 PM
  5. [OPEN] GridPanel Width problems.
    By ljcorreia in forum Bugs
    Replies: 2
    Last Post: Nov 11, 2008, 5:52 AM

Posting Permissions