How to use the editor for removing data programmatically?

How to use the editor for removing data programmatically?

Hi,

I'm trying to use the editor to remove items from my server, programmatically without the datatables. I managed to use create() and edit() in a following way: editor.edit(id,false); editor.val('name', 'Joe'); editor.submit(). This works fine for create() and edit() but when I user a similar approach to remove() it doesn't seem to send anything else than 'action: remove' to my server within the form data.

What I'm doing wrong here?

Answers

  • allanallan Posts: 64,925Questions: 1Answers: 10,753 Site admin

    Are you passing any information about the rows you want to remove into the remove() method? Just like for editing, you need to tell it which rows you want to remove.

    Allan

This discussion has been closed.