Выравнивание чисел по правому краю в таблице

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-24 13:30:02 +03:00
parent 09d62fe433
commit 654233936e

View File

@@ -304,6 +304,7 @@ async function selectTable(schema, tableName, restoreState = false) {
headerSort: true,
sorter: sorterType,
...(sorterType === "number" && {
hozAlign: "right",
formatter: function(cell) {
const value = cell.getValue();
if (value === null || value === undefined || value === '') return '';