How to add extra column

How to add extra column

samir_gamblersamir_gambler Posts: 5Questions: 0Answers: 0
edited December 2013 in DataTables 1.9
Hello,
I was looking at your DataTables plugin and I found it very useful. I came across a web page that is using DataTable to display data. Currently table detail is directly entered in the html page with two extra column to edit the entry and delete the row. I am able to get the data from server side processing but I am unable to add two columns to edit and delete the entry. Can you please guide me how to add these column.

Thanks,
Samir

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    This example uses Editor, but its the DataTables part you are interested in, specifically sDefaultContent and mData : https://editor.datatables.net/release/DataTables/extras/Editor/examples/inlineControls.html .

    Regards,
    Allan
This discussion has been closed.