ydn-js origin

YUI version 2.5.1

Capturing and displaying nested data

Challenge:

Create a DataTable from a DataSource that returns nested data structures.

Solution

Use location key syntax to pull values from nested data structures in the DataSource's responseSchema.fields collection. Use a custom column formatter to render complex data in a table cell.