ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: forwheeler on December 13, 2013, 12:57:09 am
-
I am trying to create an event for the keyDown so I can add a new row to the grid. I know I can so this for pqgridcelleditkeydown in edit mode but I don't want the user to have to double click on the last row cell to get to edit mode and then arrow down to add a new row. I want them to just arrow down on the last row.
I can't get it to fire for either type spelling pqgridkeydown or pqgrikeydown.
-
To make the cellKeyDown event fire, I needed to set this property.
selectionModel:{type:'cell', mode:'block'},
-
selectionModel: {type: 'cell' } is required for cellKeyDown
mode can be 'single', 'range' or 'block'