add custom columns filter
This commit is contained in:
@ -90,4 +90,14 @@ class JasonTable
|
||||
|
||||
return $styleStr;
|
||||
}
|
||||
|
||||
protected function getFilterFromCustomColumn(string $column)
|
||||
{
|
||||
if (is_array($this->beforePrintCell[$column])) {
|
||||
if (isset($this->beforePrintCell[$column]['filter'])) {
|
||||
return $this->beforePrintCell[$column]['filter'];
|
||||
}
|
||||
}
|
||||
return "text";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user