I know there is a GridFieldExportButton which exports all the data of a GridField. But what I want is a custom Button which exports all the $db
fields (ore just a few of them) of only ONE DataObject in a CSV file and download it. So I want this button in the edit area of this one DataObject and not for the GridField which shows all data objects.
I have already the button, now I need the right function. Can somebody help me?