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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:37:22+00:00 2026-06-01T10:37:22+00:00

I have a TreeStore that you can drill into. It’s only two levels deep.

  • 0

I have a TreeStore that you can drill into. It’s only two levels deep. When you get to the second level and you click on a leaf it takes you to a detail card.

How do I, in the detail card, show the full path?

So say I have;

 - A
 -  1
 -  2
 - B
 -  1
 -  3
 - C
 -  5
 -  2

So when I click on B and then 3 I want to have “B” and “3” ideally in a Javascript variable that I can then pass to a WebService.

  • 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-01T10:37:23+00:00Added an answer on June 1, 2026 at 10:37 am

    I believe SenchaTouch has no built in functionality for this.
    You can listen for the itemtap event and then store the title of your item in an array.
    When you show your detailcard you could pass this array to you webservice and show the joined array in your card.

    Unfortunately i don’t know what your code looks like and if you use the MVC approach but it would probaply something like this:

    breadcrumbs = []
    
    onItemTap = function( list, target, record ){
       breadcrumbs.push( record.get('title') );
    }
    
    onLeafItemTap = function() {
       breadcrumpsStr = breadcrumbs.join('->');
       // send them to your webservice
       // set in your detailCard
       breadcrumps = []
    }
    

    When you provide your code I could help you more.

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

Sidebar

Related Questions

I have a TreeStore that groups items into parent rows. Items from the Treestore
Have an app that can use tts to read text messages. It can also
Have just started to get into CakePHP since a couple of weeks back. I
Have you managed to get Aptana Studio debugging to work? I tried following this,
I have GUI application with gtk.Treeview component. It's model is set to gtk.Treestore, which
When submitting a form with Extjs I can see the form items have values
have anyone can tell me what syntax error on this actionscript (actionscript3.0)? var rotY:
Here is my scenario. I have a working login form that functions correctly. I
I just cannot seem to get the tree grid up and running. I have
Have a problem that seems easy on paper but i'm having a big problem

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.