Follow

How to Create a Repeating List with Simple Data Types

This article will demonstrate how you can use Vertical layouts to create a repeating list of simple data types.

Example

This example uses the Service Call control so that there is no need to use a Server Script to set the Coach data on the Diagram.

Click here for more information on the Service Call control.

A series of Vertical Layouts are used to create the repeating list. There is an Output Text (Size Style is set to Large) inside of a Vertical Layout (Width is set to 50%) used as a header.  Note that the Label Visibility on the Text control is set to 'Hide' and that the Horizontal Alignment on the outer most Vertical Layout and the Vertical Layout that contains the Output Text is set to 'Center.'

There is one variable that is a list named stringList that is bound to the Vertical Layout that contains the Text control, as well as, the control itself.

The Service Call has an attached Ajax service to populate the Text control and is bound the the stringList variable.

The String List Items Ajax service:

The result at runtime...

 

  • Author: Courtney Silva
  • Date Created: January 27, 2016
  • Date Modified: February 2, 2016
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments