Parameters
NameTypeDescription
recordsys.data.RecordThe record where the label is being calculated.
Returns
string - You should return the label of the record.
Samples
 
//builds the label using first and last names
return record.field('firstName').val()+' '+record.field('lastName').val();