Editor lightbox missing update button when called with editor.edit()

Editor lightbox missing update button when called with editor.edit()

az0az0 Posts: 2Questions: 1Answers: 0

I'm using DataTables and Editor and they're both working great. One minor snag: If I edit a row programmatically by using editor.edit('#ROWID'), the edit lightbox opens, but it's missing the update button in the lower right. It's also missing the "Edit entry" text in the upper left. Other than that it looks and works fine. I can still submit the form by using the enter key, but a user might get confused by the missing button.

Interestingly, if I edit a row normally (by selected the row and clicking the Edit button), the lightbox has the button and the header text. If I then trigger an edit programmatically, the lightbox still has the button. So it might be a problem initializing the lightbox when called via editor.edit()?

Any guidance is appreciated!

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,172Questions: 26Answers: 4,922
    Answer ✓

    Did you provide the title and buttons options as shown in the edit() docs?

    Kevin

  • az0az0 Posts: 2Questions: 1Answers: 0

    Whoops! I hadn't seen those options. Thank you so much!

This discussion has been closed.