Univention Bugzilla – Bug 44481
Make values in grid selectable
Last modified: 2017-07-26 14:39:34 CEST
This is not possible with the 4.2 grid anymore
+++ This bug was initially created as a clone of Bug #33546 +++
UCS technical training
To configure DHCP for a Windows VM, it was necessary to get the MAC address of the interface of the Windows VM. While the VM is running, only the line in the interface grid of UVMM-UMC can be selected, but not the text showing the address individually. We had to restore to writing the MAC address to a piece of paper and typing it in again in the DHCP host entry.
When the VM is not running, at least the detail page for the interface can be opened, which has an edit-text-field, from where the text can be copied.
It would be nice if that would work in the grid-view as well.
(Even better would be a mechanism to create a VM description and the corresponding computer entry in sync (configurable, as in our laiva environment that isn't wanted))
We should make all values select(©)able in all grids. This is easy by just adding the CSS property "user-select: text" to all grid cells (e.g. .umc .umcGrid .dgrid-cell).
This is possible since the new dgird.
It doesn't have side effects on select-item-on-click, right-click-context-menu and the default-action.
* Bug #44481: text content of grid cells is now selectable
YAML: r 81284
I also made text in dojoxGridCells (like in the MultiSelect widget)
* Bug #44481: remove onclick-selection of the mac address. The possibility
to select grid content generally is added in univention-web package
YAML: r 81293
The buttons in grids (e.g. UVMM) look broken now.
* Bug #44481: remove padding from grid cells
OK: entries can be selected
OK: MultiObjectSelect (old grid)
OK: default action
OK: context menu
OK: item selection (doesn't work in MultiObjectSelect grids)
OK: YAML (adjusted in r81310)