-
Bug
-
Resolution: Done
-
Major
-
7.12.0.Final
-
2019 Week 50-52 (from Dec 9), 2020 Week 01-03 (from Dec 30)
-
5
-
- Import the sample Traffic_Violation project
- Open the only dmn file present
- Expand the amount column as shown in the attached picture
- Try to invoke any context menu now for adding rows/columns
-
NEW
-
NEW
A Popover used to edit a cell or column header (or any other DOM-based editor for that matter) disappears following a change in the widget that causes a Layer.draw() if the grid is sufficiently wide that there is a column not visible on screen.
All cells/columns that use CellEditorControls (containing, for example, the Popover) share a single instance from CellEditorControl and hence although the User makes a change in a visible column the invisible column (scrolled off screen) has its DOM resources destroyed that is the same instance as that for the visible column.
See https://github.com/kiegroup/appformer/blob/master/uberfire-extensions/uberfire-wires/uberfire-wires-core/uberfire-wires-core-grids/src/main/java/org/uberfire/ext/wires/core/grids/client/widget/grid/impl/BaseGridWidget.java#L341. If a column is not in the body or floating columns collection its DOM resources are destroyed.
I probably need to ensure different instances of CellEditorControl are created for each column/cell where we currently share the same instance. Also check for destruction of DOM elements in Document when grids/columns etc are destroyed.
Acceptance criteria
- Create a DMN model
- Add a Decision
- Set its expression to a Decision Table
- Add multiple Input and Output columns so that the table is wider than the visible screen space (i.e. some columns are not rendered)
- Click on the header of a visible column
- The Name/Data-type popup should appear
- Repeat for expression type of Relation
- is duplicated by
-
AF-2394 [wires-grids] Context Menu is not shown if user scrolled grid horizontally
- Closed
- is related to
-
DROOLS-2922 CSS: Pop-over menu for DMN decision tables.
- Closed
-
DROOLS-5073 menu didn't pop up when right-click the cell in decition table if there are lot of columns (more then 18)
- Closed