These data columns can easily be inserted into Spry regions in several ways:
n Dragged and dropped: Drag any data column to any position with the Spry region. If the data
column is dropped on a selection, the selection will be replaced.
n Inserted: Place your cursor where you??™d like the selected data column to appear, and click Insert.
As with the drag and drop method, any selected text or element will be replaced by the inserted
data column.
n Manually entered: The proper code (the data column name surrounded by curly braces) can be
entered by hand in either Design or Code view as long as it is entered within a Spry region.
For more complex pages involving multiple data sets, binding data requires a different syntax,
like this: {ds1::name}. In the more complete syntax, the data set name precedes the data
column name with double colons between the two elements.
TIP TIP
602
Adding Advanced Design Features Part III
Associating Master and Detail regions
In this section, you??™ve learned how to create two different types of Spry regions: master and detail. But how
do you link the two? The standard method is to use an onClick event within the master region. Let??™s say
that you have a master Spry region contained in a table with a couple of columns, like this: