Hello,
I wish to add functionality to the ComplexTableField for use in ModelAdmin, that is, add standard buttons like the 'Add/Edit/Delete' which perform a certain taks (in my specific case display a PDF file). How can I achieve this? I read something that I have to edit the summary_fields in my controllerclass, like:
static $summary_fields = array(
"Name" => "Name",
...
"PDF" => "PDF"
);
public function getPDF() {
// Do things
return $output;
}
But unfortunately this method did not work, throwing an error that silverstripe was not able to traverse to PDF.
Does anybody has any experience with this? Thanks in advance,
Maurice