• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Datatables Refresh After delete

#1
[eluser]Unknown[/eluser]
Hi thanks for the library I like it. I am new on this one. can some one help me how will I edit the data then refresh the table after done editing.

#2
[eluser]InsiteFX[/eluser]
Code:
redirect('controller_name', 'refresh');

#3
[eluser]Unknown[/eluser]
Hi InsiteFX but doing that will refresh the entire page not the table.

#4
[eluser]InsiteFX[/eluser]
The MySQL database will refresh the table its self. I you need the table refreshed in your application then you need to re-run your controller that loads the table.

#5
[eluser]ivantcholakov[/eluser]
@dyjathan

How do you edit data - on a separate page or within a pop-up dialog?
Do you use server-side processing?
Do you have some knowledge about Datatables javascript API? I mean features like table redraw, and saving state? What version of the API do you use - the old dataTables or the new one DataTables?

You are asking about very specific things in this forum. I think, the Datatables site is very well documented, it has many live examples that help you to figure what to do.

Edit: My remarks are in case if you are talking about http://datatables.net/


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.