### Data Set Master/Detail Sample

This page demonstrates how to set up a Master/Detail relationship between two data sets. In this example, selecting a state from the "State" select form element causes the "City" select form element to be updated with the cities for the currently selected state.

The master/detail relationship is established by simply using the value of the url column, in the currently selected row, of the dsStates data set, as the URL arg to the constructor for the dsCities data set. When a state is selected, the "State" select form element changes the current row on the dsStates data set, which triggers the dsCities data set to update, which in turn causes the "City" select form element to update.

State:
City: