Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Federico on Oct 16, 2007 15:18
open dhtmlx forum
Select rows with keyboard

There's some way to select rows in a grid using the keys ctrl, shift and arrows( up and down )
Answer posted on Oct 18, 2007 04:01
In current version , if multiselectino enanbled ( grid.enableMultiselect(true); )
click - select single row
ctrl-click - add target row to selection
shift-click - select diaposon of rows between last and current selection.

multiselection from keyboard not included in default API, but grid provides onKeyPress event which can be used to add such actions