Page 1 of 1

Getting (currently expanded) header text value

Posted: Tue May 06, 2014 11:47 pm
by Jerry Blanchard

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


Getting (currently expanded) header text value

Posted: Wed May 07, 2014 1:31 am
by Yurii Orishchuk

Hi Jerry.

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

Regards.


Getting (currently expanded) header text value

Posted: Wed May 07, 2014 2:16 am
by Jerry Blanchard

Thanks


Getting (currently expanded) header text value

Posted: Wed May 07, 2014 12:43 pm
by Evgene Karachevtsev

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

Getting (currently expanded) header text value

Posted: Wed May 07, 2014 6:21 pm
by Jerry Blanchard

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


Getting (currently expanded) header text value

Posted: Thu May 08, 2014 4:06 am
by Yurii Orishchuk

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.


Getting (currently expanded) header text value

Posted: Thu May 08, 2014 4:45 am
by Jerry Blanchard

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