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
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Have another event listener (or whatever) that controls
inlineEnabled
so it can be disabled when you don't want it.ALlan