I have tried to search online for a definite solution to this question but there's really no concrete solution for newbies out there.
I have an Entry which has many EntryListing. In my EntryAdmin listMapper, i comfortably can list entries by a statement as simple as
->add('listings')
which simply returns the listings as defined in the EntryListing __toString() function.
Is there a way to achieve the same when exporting the data by overiding the getExportFields() functions as below:
public function getExportFields()
{
return array('name','tel','email','deviceType','postedOn','createdAt','facilitator','listings');
}
Your help will be very much appreciated