ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Bohuslav Stanek on June 05, 2016, 04:50:30 pm
-
Hi, I would like to use the custom editor in pqGrid (http://paramquery.com/pro/demos/editing_custom) to utilize already built html editors.
However, is there an information/template for a custom editor? Eg. how to use 'pq-editor-focus' class name or what to call to validate or cancel cell editing after 'Esc'.
I have also encountered a problem with the focus.
If the 'pq-editor-focus' is on the first element it works but you cannot use keyboard to enter a value.
If it is on deeper element eg. <div><input class='pq-editor-focus' type='text'></div> then editor does not end after loosing the focus.
If you would like online javascript demo (e.g. https://jsfiddle.net/), please send me a link to a working version of the http://paramquery.com/pro/demos/editing_custom so I can easily demonstrate the issue.
Thank you for any help you can provide.
-
The documentation on supported editors is already there in the API. column.editor
Html editor may not work with pqGrid, however I would look into it to see if something can be done.
Please use this jsfiddle http://jsfiddle.net/4v1mrs1u/ to share your issue.