using { extend: "create", editor:editor} - How to close lightbox?

using { extend: "create", editor:editor} - How to close lightbox?

monkeyboymonkeyboy Posts: 60Questions: 19Answers: 0

Have a datatable with simple bubble editor
If my user clicks new, and changes his mind, how do I offer a cancel or close button within the lightbox?
Clicking another cell to open bubble editor does not completely remove the lightbox

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    If my user clicks new

    I'm afraid I don't quite understand this point - in the context of the bubble editing, there is no new ("create") option - you can only edit an existing row.

    In the lightbox view you can click the background, press escape or click the close button at the top right to close the lightbox.

    Allan

  • monkeyboymonkeyboy Posts: 60Questions: 19Answers: 0

    When I set up a table with the edit box opening up like a child row, there is no close X in the upper right. There is (unnoticed by me) a child row close icon in the upper left.

    I was unaware that ESC would also close it.

    Thanks! I will include these in my user manual

This discussion has been closed.