J6/Grid/Actions

From J Wiki
Jump to: navigation, search
J6/Grid | Data Options Types | Actions Events Methods | Class DerivedClass | Hierarchical MultiDimensional MultiLine Virtual | Examples


The following keys and mouse clicks are supported by default.

Non-edit mode

Keyboard

Key Action
arrow move active cell (scrolls to keep visible)
ctrl+arrow moves to edge of grid
home move active cell to col 0
ctrl+home move active cell to row 0 and col 0
end move active cell to last column (if finite)
ctrl+end move active cell to last row and column (if finite)
page up, down move active cell up, down by one page
ctrl+page up,down moves active cell left, right by one page
enter move to next cell
shift+arrow extends selection
ctrl+space select current column
shift+space select current row
ctrl+c,v copy,paste
ascii characters new data for selected cell
delete set numeric cells to 0, character to blank (where appropriate)

Mouse

Selection Action
left click selects cell
left double-click set edit mode on for cell (if edit enabled)
left mouse-down & hold extends selection

Edit mode

Keyboard

Key Action
left,right arrow move within cell (scrolls if necessary to keep visible)
ctrl+left,right arrow move to beginning, end of cell
shift+left,right arrow select characters
ctrl+shift+left,right arrow select to beginning, end of cell
backspace delete character to left
enter end edit mode, move to next cell
esc end edit mode, restore original contents

Mouse

Selection Action
left click set cursor position
left mouse-down & hold select characters