formats and style

This commit is contained in:
2024-08-08 17:08:46 +03:00
parent d0f136e484
commit 38d5deb36a
6 changed files with 50 additions and 15 deletions

View File

@ -91,7 +91,7 @@ class ListJsonTable extends JasonTable
if($this->beforePrintCell) {
$cell = $this->getCustomCell($key, $cell);
}
$this->html .= "<td>" . $cell . "</td>";
$this->html .= "<td style='" . $this->getStyleFromCustomColumn($key) . "'>" . $cell . "</td>";
}
}
$this->getCustomColumns($row["id"] ?? null);
@ -163,6 +163,8 @@ class ListJsonTable extends JasonTable
return $keys;
}
private function getColumnKeys(): array
{
$columnKeys = [];