Jerry Blanchard
Posts: 0
Joined: Thu Apr 10, 2014 5:10 am

Getting (currently expanded) header text value

Hello,

I have a collapsible list that I am populating with a REST service which works nicely. Now I would like to nest another collapsible list inside the first and also populate it with a REST service based on the header value of the selected header. I have tried many tricks and the best I have done is to use a get focusrun javascript where I get the header value, but only of the first (top) box. I also tried adding a label in the header but it make the collapsible list go away and only listed the values returned from the REST service.

If you have more documentation on the collapsible list or a tutorial, that would be great.

Thanks

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Getting (currently expanded) header text value

Hi Jerry.

We will answer you but it seem to need a bit more time.

Regards.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Getting (currently expanded) header text value

Hello,

We don't have tutorial that contains exact information you need. But we can give you steps which you can reproduce to get needing result

  1. Create two service. First - "master", second - "second".
  2. Map "master" service to your upper collapsible set (let's name it "upper").
  3. Put "inner" collapsible set into "upper" collapsible set
  4. Map "second" service to "inner" collapsible set. This service should have "request parameter" for getting needing data. You should enter data to this parameter with js code
  5. Create event "expand" for "upper" collapsible set and call in this event "detail" service
Jerry Blanchard
Posts: 0
Joined: Thu Apr 10, 2014 5:10 am

Getting (currently expanded) header text value

Thanks for the reply. I had already done all of that, but the problem was that I need the value from the selected 'Master' collapsible header for the second service parameter. But I have decided to use multiple pages with sists instead of collapsibles, it doesn't look at cool, but it works as I need it to. If you know how to get the value of a selected collapsible header, maybe I will change, but for now, I just want to get my app working.

Thanks,

Jerry

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Getting (currently expanded) header text value

Hi Jerry.

Currently there is a bug which is not allow you to do it.

But after next release it would be fixed and we will update you here with suggestion.

Regards.

Jerry Blanchard
Posts: 0
Joined: Thu Apr 10, 2014 5:10 am

Getting (currently expanded) header text value

Thanks,

I also found your tutorial on creating a local SQL database, this might also help me achieve what I'm looking for. I really dig this tool, I keep finding things that make it better.

Thanks for the support

Return to “Issues”