ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: snagaval on April 03, 2015, 05:29:54 am
-
Hello,
I used cellClick to code some logic around when a cell is being edited; but, when that cell is selected to edit by using the cursor keys, cellClick event is not triggered (this makes sense - as the cell is not clicked); would cellSelect be a better event to code for this? Would you recommend some other event? I am coding things such as highlight some other cells, keep track of the before edit value of the cell etc.
Thanks for you help.
Regards,
-
editorBegin & cellBeforeSave are more appropriate events, you may choose anyone among these 2 depending upon your requirements.
http://paramquery.com/pro/api#event-editorBegin
editorBegin doesn't necessarily mean that user made changes in the cell as the user may escape out or tab on to another cell editor whereas cellBeforeSave is fired when user make changes in the cell and before committing the edited value to cell.