I would like to have the inline editing feature, but not all the time. I am thinking of implementing a toggle button, but how. Any hint or example would be appreciated. Thanks!
This question has an accepted answers - jump to answer
var inlineEnabled = true; $('#example').on( 'click', 'tbody td', function (e) { if ( inlineEnabled ) { editor.inline( this ); } } );
Have another event listener (or whatever) that controls inlineEnabled so it can be disabled when you don't want it.
inlineEnabled
ALlan
Answers
Have another event listener (or whatever) that controls
inlineEnabledso it can be disabled when you don't want it.ALlan