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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:21:27+00:00 2026-05-25T15:21:27+00:00

I have a button with this handler: handler:function(){ myapp.functions.createDealerList(); myapp.mainPanel.setActiveItem(myapp.cards.dealerList, { type: ‘slide’, direction:

  • 0

I have a button with this handler:

handler:function(){
            myapp.functions.createDealerList();
            myapp.mainPanel.setActiveItem(myapp.cards.dealerList, { type: 'slide', direction: 'left'});
            myapp.toolbars.dealerListNav.setTitle("Page 1 of " + myapp.stores.dealerList.data.items[0].data.pageTotal);
            }

createDealerList create an extjs list and populates it with my json echoed data (by using the load() property on my data store). I then try to set the title of the toolbar. When I click the button the list is rendered with the loaded data but the title on the toolbar isn’t set.

On the the card with this list I have another button next page which updates the list and also sets the title of the toolbar, the code is:

myapp.toolbars.dealerListNav.setTitle("Page " +sendpage+ " of " + myapp.stores.dealerList.data.items[0].data.pageTotal);

And that works! So I wonder what is going wrong here?

Thanks

  • 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-05-25T15:21:28+00:00Added an answer on May 25, 2026 at 3:21 pm

    Answer: use callback function with load method.

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

Sidebar

Related Questions

I have one image submit button like this <input id=enter name=enter type=image value=Login src=images/btn_login.jpg/>
I have this button on the leftside of my UISplitViewController (RootViewController) that has a
I have a button inside the content of a UIPopoverController. This button runs a
If I have a button like the one in this image : http://www.freeimagehosting.net/image.php?4cd775814c.png how
We have a button that saves asynchronously using AjaxToolKit/C#/.NET. I'm getting this in my
I have a button in my application which is bound to a command. This
I have an asp.net page with a button. This button generates and inserts a
I have a GUI program with one Exit button. When clicking this button, it
I have an NIB file with a button. When I click this button, the
I have an asp button with no onclick event but only onclientclick. This call

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.