Add cityID in creation and update and edit some graphics in the map

This commit is contained in:
2025-08-19 09:24:29 +03:00
parent 50c6a2ef5b
commit a14bc4e73a
5 changed files with 158 additions and 52 deletions

View File

@@ -95,17 +95,6 @@ function MainDataTables() {
size: 150,
Cell: ({ cell }) => <span>{editNumbers(cell.getValue()) || "-"}</span>,
},
{
header: t("Created Date"),
accessorKey: "createdDate",
size: 180,
Cell: ({ cell }) => (
<span>
{cell.getValue() ? new Date(cell.getValue()).toLocaleString() : "-"}
</span>
),
sortable: true,
},
{
header: t("Physical Machine"),
accessorKey: "physicalMachine",
@@ -142,6 +131,17 @@ function MainDataTables() {
size: 100,
Cell: ({ cell }) => <span>{editNumbers(cell.getValue()) || "-"}</span>,
},
{
header: t("Created Date"),
accessorKey: "createdDate",
size: 180,
Cell: ({ cell }) => (
<span>
{cell.getValue() ? new Date(cell.getValue()).toLocaleString() : "-"}
</span>
),
sortable: true,
},
],
[t]
);
@@ -209,7 +209,7 @@ function MainDataTables() {
enableFilters={true}
enableGlobalFilter={true}
enablePagination={true}
enableColumnResizing={false} // Disable resizing for better performance
enableColumnResizing={true} // Disable resizing for better performance
enableStickyHeader={true}
enableRowVirtualization={true} // Enable virtualization for large datasets
enableColumnVirtualization={false} // Keep columns visible
@@ -248,7 +248,7 @@ function MainDataTables() {
}}
// Disable features that can slow down large tables
enableRowSelection={false}
enableColumnOrdering={false}
enableColumnOrdering={true}
enableColumnDragging={false}
enableDensityToggle={false}
enableFullScreenToggle={false}