How do I edit a cell in a table?

How do I edit a cell in a table?

PGB99PGB99 Posts: 1Questions: 0Answers: 0
edited February 2014 in General
I have added a DataTable table to my page, and added a bit of jQuery to get an array of data through Web API. That all works fine. However, I have not been able to find anything in the documentation about how to make individual cells editable. That is, the user can click on one cell, edit the data, and then click a Save button (that I add to the page) where I will take the updated data set and send it back to my Web API controller, which will then update the SQL database. Note, I do not want a solution where there are Edit/Delete links to the right side, which starts a modal pop-up window; I need to have the ability for the user to directly edit a cell, and only in certain columns, not others.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Editor 1.3, which is about 2 weeks from being released will add this ability ( https://editor.datatables.net ). It will also have a bubble editing mode, which is a lot like the inline editing, but without the nasty alignment issues that can occur if you have large editable areas in a cell, for example a wysiwyg editor.

    Allan
This discussion has been closed.