## Data Simulation

### Data Grid

This widgets displays the records of a Data Master as a grid. The data source is always a single Data Master which is selected when the grid is created. Data grids are displayed as cells that contain all the data of a data master row. Using the properties panel, the orientation field defines whether the orientation is horizontal or vertical. The number of columns or rows can be decided if using horizontal or vertical orientation, respectively. The first cell will be displayed with the field names and the other cells will be displayed just as a grey cell. When simulating, cells will be filled with the Data Master's record instances.

### Data List

This widgets displays the records of a Data Master as a list. The data source is always a single Data Master which is selected when the list is created. This widget is displayed as a header row with the Data master field names, a sample row with the content structure of the row's cells, the other rows are displayed as grey rows. When simulating, rows will be filled with the the Data Master's record instances.

Adding content to your Data List

Data Lists have a default structure which displays as many columns as Data Master's fields indicated when creating it. However, they can be customized adding more information or rearranging the default information provided.

New widgets can be added into a Data List's cell. However, notice that some widgets can have a different behaviour inside a Data List's cell depending on their properties:

- Associated to a Data Field: If the widget is associated to a Data Master's field which belongs to the Data Master associated to the Data List, then it will display different values depending on the row it is displayed showing the different Data Master's records for this field.

- Not associated to a Data Field: If the widget is not associated to any field, then it will display the same value for each row of the Data List.

Hence, you can fully customize your Data Master's graphical representation:

Associate widgets to a Data Master's field

Not every widget can be associated to a Data Master's field. Only the following can:

- Input widgets

- Selection widgets

- Image widget

In order to associate a widget to a Data Master's field, first select the widget on the screen and then select the desired Data Master's field from the 'Data Field' drop-down you will find in the Properties panel. The drop-down will show all the available fields which the selected widget can be associated to.

Many specific functions and actions can be applied to Data Lists like filters. See some special Data Grid functions here.

For further information check out this tutorial: http://www.justinmind.com/support/data-simulation-in-interactive-prototypes/