Option to disable double click to edit when Mode is set to Read with Inline-Editing
I have a use case that needs this functionality.
Is there a way to disable this via js?
Is there a way to disable this via js?
1
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
var field = arguments[0],
value = arguments[1],
cellElem = field.element;
$ = skuid.$;
function noclick(evt){
console.log(evt);
evt.preventDefault();
return false;
}
skuid.ui.fieldRenderers[field.metadata.displaytype][field.mode](field,value);
cellElem.on('dblclick',noclick);
I have a global field renderer code that I'll extend with this.
evt.stopImmediatePropagation();
instead of
evt.preventDefault();
Here's the globalFieldRenderer code.