This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
cadmojr20164211
My list has a column with the type partial working perfectly, but when exporting to csv or pdf, the column with the partial return null. Do I have to set the type partial in registerListColumnTypes? Does anybody know how to solve this?
Last updated
daftspunky
Try overriding the column value in your controller
public function listOverrideColumnValue($record, $columnName, $definition = null)
{
if ($columnName === 'mypartialcolumn') {
return 'Value for export';
}
}
1-3 of 3