How to add row when i am using php based server processsing
How to add row when i am using php based server processsing
raihan1780
Posts: 1Questions: 0Answers: 0
HI,
I am new one with data tables. I have used data tables with server side processing. But now i want to add row in data tables. Can you tell me how i have to do it . It will be very nice if i have some example
THanks
Raihan
I am new one with data tables. I have used data tables with server side processing. But now i want to add row in data tables. Can you tell me how i have to do it . It will be very nice if i have some example
THanks
Raihan
This discussion has been closed.
Replies
see http://datatables.net/examples/api/add_row.html
see http://datatables.net/api#fnAddData
[code]
oTable = $('#example').dataTable();
oTable.fnAddData([0,1,2,3,4,5,6]);
[/code]
optionally add 2nd parameter (boolean) to indicate triggering a redraw of the table (I think this will re-sort and re-filter).