Grid-Like Views |  |
Grid-like view uses standard Windows system control and customize it to behave like a grid. Most of the Windows standard operations also apply to XmlShell's grid-like views. The following views are based on grid-like view:Locate Node in XmlTree View
To locate a node back in the tree, just click on the node icon. XmlTree will automatically expand all the parents and show the node in bold. This operation does not change the selection in XmlTree view.Sort
Sorting in grid-like views is only for displaying purpose. It does NOT change the actual XML document. Users can click on any column header to sort the column ascendingly. Clicking on the same column header again to sort it descendingly. Clicking again to remove sorting.In-Place Edit
All the grid-like views feature grid-like in-place editing. To start editing, use one of the following methods:- Click again on a selected grid cell .
- Press F2.
- Press Space.
- Press any alpha-numeric keys.
To end editing and accept changes, use one of the following methods:- Click outside the edit box.
- Press Enter. The focused cell will move to the next row.
- Press Tab. The focused cell will move to the next column.
To end editing and discard changes:Undo/Redo
Every single change to the nodes can be undone before the grids gets repopulated from Editor view. This functionality is accessible through one of the following methods:Multiple Selection
Multiple selection works the same way as the standard Windows system control. The selection is row-based only. You can use either mouse or keyboard to do multiple selection.Use mouse to do multiple selection:
- To select or unselect items:
Ctrl+Click
- To select a range of items: Click to select the starting item, then Shift+Click to select the ending item
Use keyboard to do multiple selection:
- To select or unselect items: Ctrl+Up/Down, then Space.
- To select a range of items:
Shift+Up/Down
Drag and Drop
You can drag from grid-like views and drop to XmlTree view. Grid-like views do not accept drop.Mouse Operations
The following mouse operations are specific to XmlShell:- Single-click on a column header: Sort by the column.
- Single-click on a node icon: Locate a node in XmlTree view.
- Double-click on a node icon: Jump to Parent-Children view.
Keyboard Operations
Most of the standard keyboard operations should work just as users expect. The following is a simple summary:
- Up, Down, Left, Right - Navigate the grid.
- F2 or Space - Start in-place editing.
- Tab - Move to the next column.
- Enter - Move to the next row.
Configuration
All grid-like views use the following configuration keys:- /Config/Grids/@font-family
- /Config/Grids/@font-size
- /Config/Grids/FirstRow/@background-color
- /Config/Grids/FirstRow/@color
- /Config/Grids/FirstColumn/@background-color
- /Config/Grids/FirstColumn/@color
- /Config/Grids/NoValueCells/@background-color
- /Config/Grids/SubGrids/@font-family
- /Config/Grids/SubGrids/@font-size
See Also