WebAdmin main & sub tab tables support re-arranging columns via up/down arrow icons (context menu triggered by right-click on table header area). This RFE suggests to replace these up/down arrow icons with drag'n'drop behavior in order to improve the end user experience.
We can leverage jQuery [1] to implement DnD behavior. [1] https://jqueryui.com/draggable/
if this is too much effort to develop in our current UI, I would prefer to rely on PatternFly's data-table once we will use it.
(In reply to Einav Cohen from comment #2) > if this is too much effort to develop in our current UI, I would prefer to > rely on PatternFly's data-table once we will use it. It's not really a big effort, considering that we already use jQuery in "column control" context menu implementation [1]. [1] org.ovirt.engine.ui.common.widget.table.ColumnContextMenu It's only a matter of removing up/down buttons and utilizing jQuery "draggable" as mentioned in comment #1. (Infra for re-arranging GWT table columns is already there, this is just a non-infra visual change.)
(In reply to Einav Cohen from comment #2) > if this is too much effort to develop in our current UI, I would prefer to > rely on PatternFly's data-table once we will use it. Looking at DataTables [1] (jQuery plugin), the column visibility & position control can be achieved by DataTables extension called "ColReorder" [2] and I don't think this extension (or any extensions in general) is shipped through PatternFly. [1] http://datatables.net/ [2] http://datatables.net/extensions/colreorder/examples/ http://datatables.net/extensions/colreorder/examples/styling/bootstrap.html http://datatables.net/extensions/colreorder/examples/integration/colvis.html
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.
Verified in rhevm-4.1.0.2-0.1.el7.noarch ovirt-engine-webadmin-portal-4.1.0.2-0.1.el7.noarch Column re-arranging is now done via drag'n'drop instead of the up/down arrows.