Dominik Csapak
ce9a0f27cd
save index on keydown and check on keyup
...
so that the edit window does not open again when pressing enter
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-05-02 15:53:35 +02:00
Dominik Csapak
2087bcd90b
PendingObjectGrid: fix display of deletion of multikey fields
...
we did only check if the first field of a mulitfield key is being deleted,
resulting in showing no pending change at all when deleting any other,
and as long as only deletions were taking place
also when deleting the 'main' key of a multikey field, we
showed the deletion of the whole line, even when already showing
a different pending line
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-23 12:13:46 +02:00
Dominik Csapak
9307eda498
allow pressing enter in ObjectGrids to edit a field
...
for this we need to overwrite the 'run_editor' function
of the ObjectGrid if we use a custom one
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-06 13:46:36 +02:00
Dominik Csapak
37d8d60201
add labelWidth to the fieldDefaults in add_*_row
...
this resizes the editwindow to the correct size
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-16 16:01:57 +01:00
Dominik Csapak
0d5c5e14c8
add an optional renderer for integer rows in ObjectGrid
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-16 11:35:35 +01:00
Thomas Lamprecht
85d85d151c
ObjectGrid: add_text_row: allow setting vtype for editor
...
Allow setting a validation type for the editors text field
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-12-07 12:00:27 +01:00
Dietmar Maurer
ca31548b04
Revert "add grid/SelectFeature.js"
...
This reverts commit e58445b3a4
.
This is no longer required, because we can simply set:
viewConfig: {
enableTextSelection: true
},
2017-09-27 13:11:57 +02:00
Dietmar Maurer
e58445b3a4
add grid/SelectFeature.js
2017-09-27 12:52:39 +02:00
Dietmar Maurer
4297e79537
ObjectGrid.js: new monStoreErrors properties
2017-04-07 06:31:34 +02:00
Dietmar Maurer
8f7370eea1
grid/ObjectGrid.js: new helper add_combobox_row()
2017-03-01 07:44:58 +01:00
Dietmar Maurer
c2ea01377e
ObjectGrid: avoid static definition of rows
...
Else all grids use the same data.
2017-02-25 11:07:37 +01:00
Dietmar Maurer
5dea30d081
ObjectGrid: new helper add_text_row
2017-02-25 10:56:50 +01:00
Dietmar Maurer
28e54f37df
new helper Proxmox.Utils.compute_min_label_width()
2017-02-25 10:47:20 +01:00
Dietmar Maurer
0e49da6db9
ObjectGrid: add helpers to add editor
2017-02-24 17:43:49 +01:00
Dietmar Maurer
7ec6cd9e86
ObjectGrid: add run_editor() and reload() helpers
2017-02-24 10:50:03 +01:00
Dietmar Maurer
40d43a3923
PendingObjectGrid.js: import from pve-manager
...
just changed the name
2017-02-24 07:45:09 +01:00
Dietmar Maurer
0669450939
add TimeView, TimeEdit and TaskViewer
2017-01-30 13:40:51 +01:00