Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9140431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:30:56+00:00 2026-06-17T09:30:56+00:00

I am using pagingtoolbar from ExtJs, however it’s not working correctly. I have one

  • 0

I am using pagingtoolbar from ExtJs, however it’s not working correctly. I have one grid that list all records, no problem, but when I want to paging a customized search result it’s just show the first page correctly, when I click to show the second page it’s come back to original url (show all records), but I want the store url still having the search url.

Original url: ‘historico-ocorrencia’

Search url: ‘historico-ocorrencia/search’

When I click in a button the following code is fired:

formSearch.submit({
                    url: 'historico-ocorrencia/search',
                    method: 'get',
                    params: {
                        dataInicial: time,
                        dataFinal: timeFinal
                    },
                    success: function(form, action) {
                        store.removeAll();
                        store.add(action.result.historicoOcorrencias);
                    },
                });

But when I click in paging toolbar to display the second page the above code is not fired, because I am not clicking in a button search. I want a way to display all the following pages using the url ‘historico-ocorrencia/search’ and still pass the params.

Thanks, if you have any questions, ask me please.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:30:56+00:00Added an answer on June 17, 2026 at 9:30 am

    you should change the form from having a submit button to a regular button and in that button’s handler do something like this:

    handler: function (){
        store.getProxy().url = 'historico-ocorrencia/search';
        store.getProxy().extraParams.dataInicial = time;
        store.getProxy().extraParams.dataFinal = timeFinal;
        (a reference to your paging toolbar).doRefresh();
    }
    

    The reason your current thing does not work is because your store is always requesting back to the server for every page and you have not done anything to change how it requests that data, so it will just do the request the same way it was doing it all along.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have one extjs grid panel. it contains Paging toolbar on it. Here is
I've setup a ExtJS Grid, while using the PagingToolbar (with PagingMemoryProxy on an ArrayStore).
I'm using the method clearGridData of jqGrid 3.8 to clear all data, but not
Using Android NDK is it possible (from native C-code) to get a list of
I have an EXTJS paging grid with checkbox selection model. I want to know
Using SSRS 2008 R2 I have a background process that dynamically generates RDL for
I am trying to implement paging toolbar on extjs grid pangel using c# backend...
I am transforming HTML table into extjs grid using: var myGrid = Ext.create('Ext.ux.grid.TransformGrid', the-table,
I'm trying to make data grid with paging using ExtJs framework, but unfortunately my
Using CRM 4, I have an entity form that contains a tab with an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.