This sample demonstrates the use of the Shell Data Set. The Shell Data Set can be bound to a region like any other data set, but its purpose is to serve as a placeholder for other data sets so that developers can "hot swap" them.
The example below demonstrates the hot swapping of an HTML Data Set with an XML Data Set. The first panel uses the HTML data set (ds1). The second panel uses a XML data set (ds2). The table is a detail region bound to the data set shell (dsShell).
Each accordion tab has on onclick event that changes the data set shell value. That allows the singe detail region to share data sets.
Edward Smith
Neil Johnson
Steve Williams
John Jones
Joe Brown
@id | firstname | lastname | username |
---|---|---|---|
123456 | Edward | Smith | esmith |