How reload datatables after ajax success (insert database)???

How reload datatables after ajax success (insert database)???

athreesathrees Posts: 2Questions: 1Answers: 0
edited August 2015 in Free community support

i want datatables reload after proses ajax success insert into database..
not refresh page, only datatables..
insert database success
but after that datatables not reload?

one page (example.php)
First datatable show data.
next. use ajax for add (insert to database) and success...
after success i want datatable reload and show all data ...

any help me??

this my code

http://live.datatables.net/dizaqoxo/1/edit (open : javascript and HTML NOT Output)

Answers

  • zeinerrjzeinerrj Posts: 11Questions: 1Answers: 2

    Hello athrees,

    You need to set up your datatable to use AJAX. Look at the Datatables server side examples. Then you reload the table after insert success.

  • athreesathrees Posts: 2Questions: 1Answers: 0
    edited August 2015

    so. it's that can not reload?? must use : Datatables server side examples

This discussion has been closed.