| Name | Type | Description |
|---|---|---|
| record | sys.data.Record | This is the record in the main grid view. |
boolean - You should return true if the sub-grid has to be displayed, false otherwise. //only show contacts if customer is active
return record.field('state').val() == 'active';