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](https://secure.gravatar.com/avatar/91ead9059056d33c9c672c90ab3b90bb/?default=https%3A%2F%2Fvanillicon.com%2F91ead9059056d33c9c672c90ab3b90bb_200.png&rating=g&size=120)
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).