Inline mode with "double-click" to edit

2 posts, 0 answers
  1. Aaron
    Aaron avatar
    19 posts
    Member since:
    Nov 2012

    Posted 22 May 2015 Link to this post

    I want to present my HTML content as a easily viewed and SELECTABLE block of text.  Then if the user clicks a button, OR double-clicks... the "inline edit" mode engages.  I can build something custom to do this, I think - but before I do I wanted to see if anyone knew of an easy way to :

    1.) Disable inline edit on single-click

    2.) Enable it on double-click

    3.) Enable it on the click of an outside "edit" button I create.



  2. Kiril Nikolov
    Kiril Nikolov avatar
    2598 posts

    Posted 26 May 2015 Link to this post

    Hello Aaron,

    Such functionality is not supported out of the box, but can be achieved, by handling the double click event and then initializing the widget. The tricky part is that you will need to destroy the widget, when the editing is completed. Please note that it is not supported as a built-in mode and we do not have example of the implementation. You can submit this as a feature request on UserVoice, so that it is considered for implementation in a future release.

    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top