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 cvs-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 (through BetterButtonCustomAction of the BetterButtons module), now I need the right function. Can somebody help me?