Lead: Liav Nadler
Status | ||||
---|---|---|---|---|
|
Table of Contents |
---|
Description
A spreadsheet table is a type of data table where users can add and edit numeric data on a grid
...
State | Example | Comments |
---|---|---|
Normal (EnablesEnabled) | ||
Mouseover | ||
Selected | ||
Selected + In Focus | Only one cell can be in focus at any time. By default, the top-left cell is in focus | |
Disabled | ||
No Data | ||
Error | See Field Validation |
...
Clicking a cell:
Sets the focus to the cell
Selects the cell
Deselects all other cells
If the cell contains text - selects the text, allowing the user to edit it
Double clicking a cell is similar to clicking a cell, but if the cell has text in it, it will place the insertion point in the cursor’s location. Currently they are same
Hitting the Enter / Tab key:
Saves the text in the cell (if exists)
Sets the focus to the cell below / to the right of the current cell respectably, while skipping disabled cells. Currently Enter deselects the cell but keeps the focus
If the new cell contains text - selects the text
If the new cell does not contain text - showing the insertion point, allowing the user to enter text
Selecting multiple cells can be done in one of two ways:
Dragging the cursor over a group of cell. In this case the first selected cell gets the focus - currently ExtJS only marks the cell
Clicking cells while holding the Ctrl / Cmd key. In this case the last selected cell gets the focus - currently does not work in ExtJS
Shift to select group of cells - currently does not work in ExtJS
A cell in focus or a group of cells that were selected by dragging will show a special handle at the bottom-right corner of the cell / the selected area (see image) - in ExtJS works only on a single cell
Mouseover the handle will switch the cursor to a cross
Dragging the handle will copy the content of the cell to the target cells
The user can cut, copy and paste cell content using Ctrl / Cmd + X, C and V respectably
...