Applying Filter on All Pagination

Posted by: deepak.dubey on 28 January 2021, 4:46 am EST

    • Post Options:
    • Link

    Posted 28 January 2021, 4:46 am EST

    Hi Team,

    I want to apply my filter on all page while we using pagination.

    Now I my filter gets apply only on current page.

    and when we go on next page filter gets cleared.

    Is it possible to applying filter on all page in pagination.

  • Posted 28 January 2021, 9:36 am EST

    I am using that code.

    var filter = new wijmo.grid.filter.FlexGridFilter(theGrid);

  • Posted 29 January 2021, 5:28 am EST

    Hi,

    We are unable to replicate the issue at our end, could you please have a look at the following sample that we used for testing and let us know if we are missing something to replicate the issue. You may also share a sample of your own for us to investigate.

    Regards

  • Posted 2 February 2021, 5:15 am EST - Updated 3 October 2022, 2:32 pm EST

    Hi Sharad,

    I can share a pic which is help you to understand my case.

    In this we use pagination and its divided into 3 pages. So If I tried to apply a filter with document Id then its apply on only our first page but our requirement is that filter would be apply on all 3 pages.

    I’ll try to send you live example with data.

  • Posted 3 February 2021, 8:06 am EST

    Hi Deepak,

    It seems like I forget to share the sample last time. Please refer to the following sample:

    https://codesandbox.io/s/wijmo-starter-forked-phpfs?file=/src/index.js

    In the above sample, if we apply the filter on the first page, it works on other pages too without any issues. Please modify the sample to demonstrate the issue you facing so that we could further investigate it and assist you accordingly.

    ~sharad

  • Posted 8 February 2021, 3:30 am EST

    Thanks Sharad! It works.

    Deepak

  • Posted 11 February 2021, 3:02 am EST - Updated 3 October 2022, 2:32 pm EST

    Hi Sharad,

    Here one more query related pagination get update on total filtering data!

    User wants to view all filtered data in single page if number of filtered data is less then total number of page size.

    Ex: If we filtered Invest name with class c than its filtered properly but its show 10 rows on first page and 5 rows on second page and third page its shows 8 rows.

    Have we any way where when we apply filter for any value the pagination get update on total filtered rows.

    Please help on that.

    Deepak Dubey

  • Posted 12 February 2021, 4:29 am EST

    Hi Deepak,

    The requested feature is supported by wijmo out of the box. We do not need any additional configuration for this to work. You may test the same with the previously shared sample. In the sample apply filter on country column to show only “Japan” and observe that all the data is displayed on the first page.

    If you are having some issues, please share a small sample that replicates the issue so that we could further investigate it and assist you accordingly.

    Regards

    Sharad

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels