is it possible to have CRUD without editor

is it possible to have CRUD without editor

SidharthanSidharthan Posts: 2Questions: 1Answers: 0

is it possible to have CRUD without editor

Replies

  • rapunzelrapunzel Posts: 2Questions: 1Answers: 0
    edited October 2017

    Of course you can.
    Use table.row.add({ "headerA" : "A", "headerB" : "B" }).draw() to create a new row.
    Use table.row($('tr-element')).data({ "headerA" : "A", "headerB" : "B" }).draw() to edit a row.
    Use table.row($('tr-element')).remove().draw() to remove a row from the table.

  • allanallan Posts: 63,468Questions: 1Answers: 10,466 Site admin

    Yup - that's basically all Editor is doing under the hood. It is using the publicly available API!

    Allan

This discussion has been closed.