so it's clear what the first time is, for that we have to disable
sorting, since the rownumberer will not sort with it

Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
not sure if it's worth losing the sorting...

 www/manager6/window/ScheduleSimulator.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/www/manager6/window/ScheduleSimulator.js 
b/www/manager6/window/ScheduleSimulator.js
index 6b02cbc98..7e708b43f 100644
--- a/www/manager6/window/ScheduleSimulator.js
+++ b/www/manager6/window/ScheduleSimulator.js
@@ -104,10 +104,15 @@ Ext.define('PVE.window.ScheduleSimulator', {
                    scrollable: true,
                    height: 300,
                    columns: [
+                       {
+                           xtype: 'rownumberer',
+                           width: 35,
+                       },
                        {
                            text: gettext('Date'),
                            renderer: 'renderDate',
                            dataIndex: 'timestamp',
+                           sortable: false,
                            flex: 1,
                        },
                        {
@@ -115,6 +120,7 @@ Ext.define('PVE.window.ScheduleSimulator', {
                            renderer: 'renderTime',
                            dataIndex: 'timestamp',
                            align: 'right',
+                           sortable: false,
                            flex: 1,
                        },
                    ],
-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to