Parameters
NameTypeDescription
recordsys.data.RecordThis is the record in the main grid view.
Returns
boolean - You should return true if the sub-grid has to be displayed, false otherwise.
Samples
 
//only show contacts if customer is active
return record.field('state').val() == 'active';