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 8336117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:53:13+00:00 2026-06-09T03:53:13+00:00

I am using datefields and comboboxes to make a selection to load a store.

  • 0

I am using datefields and comboboxes to make a selection to load a store. When the store is loaded into a grid i have a paging toolbar. So far so good.

When the user clicks on the next page the pagingtoolbar is not sending the data from the datefields with it. I read something about baseparams but this aint working.

I use EXTJS 4.1

This is my store:

    NL.commListDetails = new Ext.data.Store({
    model: 'stepDetails',
    pageSize: 20,
    loadMask: false,
    sortOnLoad: true,

    proxy: {
        type: 'ajax',
        url: detailURL,
        startParam: '',
        limitParam: '',
        pageParam: '',
        reader: {
            type: 'json',
            root: 'slaevents',
            totalProperty: 'slaevents[0].totalCount'
        }
    },
    baseParams: {fromDate:NL.startDate},
    autoLoad: false
});

And here is the paging toolbar

 bbar: Ext.create('Ext.PagingToolbar', {
        store: NL.commListDetails,
        displayInfo: true,
        displayMsg: 'Displaying record {0} - {1} of {2}',
        emptyMsg: "No records to display",

    }),

I need to send fromDate, endDate with the paging. Both available in NL.startDate and NL.endDate. How can i send this when i click on next page?

  • 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-09T03:53:14+00:00Added an answer on June 9, 2026 at 3:53 am

    There is no configuration of baseParams for the store. To send extra params you should use the extraParams configuration for the ajax proxy.

    proxy: {
            type: 'ajax',
            ....
            extraParams: {fromDate:NL.startDate},
            ..
        },
    

    Also defining the params when creating the store will mean they are static, so they won;t change if you modify the datefields or comboboxes…

    So a fix will be to listen to the change event on the combobox or datefield and reset the extra params:

    change: function(this,value){
          NL.commListDetails.getProxy().getExtraParams().comboName = value;
     }
    

    Edit
    I stand corrected. There is a baseParams but it’s on elementloader and that is called only when load is directly invoked, which i think is not the case for the paging toolbar which uses loadPage. I might be wrong on this one, but i’m using extraparams and it works ok.

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

Sidebar

Related Questions

Issue Garbage gets erroneously entered into date fields and screws up calculations. Goal Using
I have a pair of date fields, from and to, and am using jQuery
I have a report designed in ireport that is using the current_date option from
I am using Symfony 1.2.9, and I have a form that contains two date
I am using a popular module called Computed Field in Drupal. I have used
I'm using DjangoFullSerializers to serialize this model (into JSON): class Program(models.Model): name = models.CharField(...)
I am new to lucene. I have to index date field. i am using
I am using JPA (Hibernate) to store an entity on a MySQL 5.0 server.
I am using jQuery datepicker, I have two datepicker input fields, like following: <html>
I am using this article of architecture http://blog.extjs.eu/know-how/writing-a-big-application-in-ext/ in my code: I have this

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.