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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:05:15+00:00 2026-06-06T05:05:15+00:00

i have two panel. when i’m click on the left panel items its calling

  • 0

i have two panel. when i’m click on the left panel items its calling web service and populating the right panel and same time its updating the number of items in the right panel to the left panel item which is clicked.
for first time its updating the left panel items but when i click on the other left panel item its not updating left panel items again.
its updating only first time.

my code is:

   onInboxListTap:function (dataview, index, item, record) {
    console.log('Inside onInboxListTap function');
    var queuestore = dataview.getStore();
    var rec = queuestore.getAt(index);
    console.log(rec.data.workSetName);
    var store = Ext.getStore('InboxWorkitemStore');
    store.clearData();                        //Function  To clear WorkitemStore
    //creating object of InboxQueueServices class
    var inboxQueueServiceObject =
    Ext.create('InfoImage.common.services.InboxQueueServices', {   
        config:{
            scope:this

        }
    }, this.onQueueContentRetrievalSuccess, this.onQueueContentRetrievalFailure());
    // calling loadQueueContent function to load queue contents
    inboxQueueServiceObject.loadQueueContent(rec.data.workSetName);


  },
 //To call Function onQueueContentRetrievalSuccess after loadQueueContent successful
  onQueueContentRetrievalSuccess:function () {

    console.log('Inside onQueueContent Retrieval Success function');

    var store = Ext.getStore('InboxWorkitemStore');               
    //Getting componenet queueDetails list
    var inboxWorkitemList = Ext.getCmp('inboxWorkitemList'); 
    var queueDetails = Ext.getCmp('queueDetails');
    var queueList = Ext.getCmp('queuelist');                  //Getting component list
    var queueViewPanel = Ext.getCmp('queueViewPanel');        //Getting queueViewPanel
    queueDetails.setStore(store);
      store.sync();
    var queueCount = store.getCount();                        
    if (queueCount > 0) {
        var queueItem = store.getAt(0);
        var queueStore = queueList.getStore();
              queueStore.each(function (record) {
               if (record.get('workSetName') == queueItem.get('sourceWorkstep')) {
                record.data.queueName = queueItem.get('sourceWorkstep') + '(' +   
                queueCount + ')';

            }
        });

         queueList.setStore(queueStore);
        queueStore.sync();
        queueList.getStore().each(function (record) {
            console.log('queueList:' + record.data.queueName);
        });
      console.log('store UPDATED');
    }
    queueList.refresh();
    console.log('store count: ' + store.getCount());
    console.log(queueDetails);
    // navigates the panel
    queueViewPanel.animateActiveItem(
        inboxWorkitemList, {
            type:'slide',
            direction:'up',
            duration:250
        });

},

Please help me on this isssue.

  • 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-06T05:05:16+00:00Added an answer on June 6, 2026 at 5:05 am

    i have to set record for that i resolve it.

      queueStore.each(function (record) {
                   if (record.get('workSetName') == workitem.get('sourceWorkset')) {
                    record.data.queueName = workitem.get('sourceWorkset')
                        + '(' + queueCount + ')';
                    // queueStore.updateRecord(record.data.queueName);
                    record.set(record.data.queueName);
                }
            });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have two panels within another large panel. The left panel is for
I have a two panel layout using fragments. The left panel is 50dp wide
I have two panels, only one should be visible at the same time. I
I have two sliding panels. I need ONLY ONE panel open at a time.
I have a two panel wxPython GUI set up. In my right panel, I
The situation is very simple, I have two panel. In the event of OnMouseOver
I have two panels in update panel. In panel1, there is button. If I
I would like to have two-panel filemanager like mc or total commander. Do I
I have two controls in div wrapped into update panel. My code requires for
I have two panels that I want to organize onto another panel. I need

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.