Datagrid display initial field Query Related Records

372
0
01-26-2012 12:24 PM
GaryKrammes
New Contributor
Very new to javascript API and concepts are not coming together.

The Query Related Record sample (http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm) displays the result of a related table on click.

Are there any examples that would show how to populate the data store with an attribute from the initial feature layer so you could display in the  resulting DataGrid ? For example, would it be possible to display the associated  "WELL_NAME" for each related record displayed in the DataGrid results? 

Can the attribute (eg "WELL_NAME" ) be passed from the wellFeatureLayer directly or is it necesary to make query the feature layer as each related record is placed in store?

  Thank you for any advise.
0 Kudos
0 Replies