Skip to content

Add keyboard shortcuts to grid #70

@erickgomez28

Description

@erickgomez28

For navigation on the main grid or in the subgrid of a selected area:
Arrow right: move the hover to the right cell
Arrow left: move the hover to the left cell
Arrow down: move the hover to down cell
Arrow up: move the hover to up cell

In addition to its current functionality:
Esc: cancels the edit column or row name separator
c: add a column where I have the hover
r: add a row where I have the hover

New Actions:
Espace: select an area to edit or select an empty area to create
Shift + c: remove the column from the current hover cell
Shift + r: remove the row from the current hover cell
Shift + g: clean the area if it has a subgrid
Ctrl + c: copy the generated ccs code

This can be other PR:
Shift + arrow right: select column separator right
Shift + arrow left: select column separator left
Shift + arrow down: select row separator down
Shift + arrow up: select row separator up

When the row or column separator is select:
Espace: edit separator name
Arrow right: add width to the column left and remove width to the column right
Arrow left: add width to the column right and remove width to the column left
Arrow down: add height to the row up and remove height to the column down
Arrow up: add height to the row down and remove height to the column up

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions