Moving Items in Property Data Grid


Moving and/or resorting List items in the Property Data Grid is supported by using Drag & Drop functionality and through the Move Up / Move Down buttons displayed at the top of Property Data Grid. NOTE: Hard Buttons cannot be moved, sorted or reordered.

Note that 'Move Up' functionality is not available when the first item is selected; 'Move Down' functionality is not available when the last item is selected.

To change the order of list items:

  1. Select an entire row by clicking on the row selector in the first column (from the left), or selected a cell(s). The row(s) are auto-selected.

  2. Drag the item to the desired position in the list and release the mouse button.

Alternatively, use the MoveUp/MoveDown buttons till the items reaches the desired position.

 

 

 

 

 

 

Selection between canvas and property data grid (pdg):

1. Clicking on a hard button on the canvas, or multi-selecting hard buttons also selects the corresponding hard button(s) in the pdg. And vice versa.

2. Clicking on the page on the canvas shows the pdg for the screen (done) but does not select anything. Clicking on the pdg cell selects the cell. Clicking on the Item Name or Hard Button name (first column) selects the row.

3. Multi-selecting cells is permissible and may involve multiple rows or columns.  (Shift-click or ALT-click). Blocks must be rectangular with no diagonals.

4. A FixedToolBar with “Move Up”, “Move Down”, and “Clear” buttons will be installed at the top of pdg. These buttons are active only for one or more whole row selections.

5. CTL-A selects all pdg contents for copying to another page, another remote, another system in the same project.

Actions permissible when selecting a single cell on the pdg:

1. Right click menu shows “Copy CTL-C”, “Cut CTL-X”, “Paste CTL-V”, “Clear DEL”.

2.  “Move Up”/Up-Arrow, or “Move-Down”/Down-Arrow is active if pdg is showing screen, NOT hard buttons. Move Up is not available if it is the first item. “Move Down” is not available if it is the last item.

3. Drag-drop is permissible if pdg is showing screen, NOT hard buttons.

 

Actions permissible when selecting multiple cells on the pdg:

1. Right click menu shows “Copy CTL-C”, “Cut CTL-X”, “Paste CTL-V”, “Clear DEL”.

2. Cells are selected. If cells are rectangular blocks, they’re eligible for copy. If drag is going to take place, then the row(s) corresponding to the cells are auto-selected upon drag.

 

On Drag start:

1. Select entire row, or selected a cell(s). The row(s) are auto-selected.

2. Drop item above or below where drag cursor is depending on the direction of drag. If you're dragging it up, it goes before.  If you're dragging it down, it goes after.  That way you can for instance drag it to the item immediately above or below the source row and it would make sense to the user.

On MoveUp/MoveDown:

1. Select entire row. Data along with programming is moved to the new location.

 

On Copy:

1. Copy cells and their types to clipboard

 

On Cut:

1. Copy cells and their types to clipboard.

2. The cut cells are highlighted in red to indicate that they will be cleared upon paste.

On Paste:

1. Paste is only permitted on to a field of the same type (text, image, page flip, checkbox), and it may be pasted onto another page, not just within that page.  

2. If the Paste operation is for an entire list item or hard button row, not just a subset of its properties denoted by individual cells selected, and it’s within the same System, the programming for that item must also be copied. Otherwise, the values are copied to cells, but the programming is not.

3. The name of the property may not be overwritten.

4. The paste is executed according to how the user has selected the destination cells.

The below rules assume the start and destination first position are in the same column.:

1. If three cells are selected and the user selects three matching cells to paste into, the three cells contents are pasted.

2. If three cells are selected and the user selects the first two matching cells to paste into, the first two destination cells are pasted into and a third cell is pasted into if available (if not at the end of the list), and that third cell is selected.

3. Likewise if one destination cell is selected, one is pasted. However, if multiple destination cells are selected, the paste is expanded to fill all the destination cells (like Excel).

4. The above rules are extrapolated to cover whole rows that are selected. For example, if two rows are selected but only one destination row is selected, both source rows are pasted. An additional row is selected to show the full paste. Also, if one row is selected and multiple destination rows are selected, the contents of the one row are expanded to fill all destination rows.

If the user pastes more than one group of cells into a column not in the same position as the source, and data would get lost because there are no cells to the right, then the user is prompted:

 

5. The source cells are cleared if it’s a cut/paste, not a copy/paste. A Cut/Paste/Paste operation only cuts on the first paste.  Each subsequent paste acts like a copy/paste.

6. To paste to a new row, the user increments the item count in the Property Grid, then pastes to the new row .

7. The entire Paste operation fails if any of the types mismatch. Therefore all destination position’s types must be matched to source destination position’s types. So you can’t paste text into a page flip drop down, for example.

 

 

On Clear:

1. All selected fields return to their default