Editor.startEdit

  • Hi all,

    I don't understand the purpose of

    var v = value !== undefined ? value : this.boundEl.dom.innerHTML;

    in Editor.startEdit. I am particularly interested because my empty cells, when edited, are initialized with this value (i.e. HTML as text content!):

     


  • OK, many thanks!
    Massimo


  • Try providing a valid empty value (e.g. null, '', false). undefined will, in general, be treated as if it doesn't exist at all which can result in some functions (like the one you noted) being unable to determine whether a value was passed or not.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Editor.startEdit , Please add it free.