Leave feedback
  • Question

    Freeblock functionality in StoryTeller

Enter a new topic
  • Melker Eriksson Melker Eriksson StreamServe Employee
    0 likes 1299 views

    Hi!

    Is there any way to implement something similar to a freeblock (or "freerow") functionality in StoryTeller?

    Lets say you want to add a header row in a table, only if the following rows contains a certain field value... simply in order to categorize different line items, for instance.

    Thanks in advance!

    /Melker

    Monday 14 March, 2011
  • Tsen-Tiam Chu Tsen-Tiam Chu StreamServe Employee
    0 likes

    Hi,

    I guess it have to be done with help of repeaters.

    Lets say you have a block containing alot of rows with different items. Then you want to add a header to a specific itemrow. So total table rows will be two in this case, one for the recurring data and one for header. 

    Repeat on both rows with recurring data Xpath. Then add additional repeater on the header row. The Xpath for this repeater should be something like "self::*[fiedlToCheck = "HEADER"]"

    In this way it will be sort of a freeblock. Hope this information is what you are looking for.

    /Atiam

    Monday 14 March, 2011

 

Latest from the blogs

Read more