Live Data

Live Data

netcomnetcom Posts: 5Questions: 0Answers: 0
edited November 2012 in DataTables 1.9
Hello,

i'm using datatables with ajax server side, i want to get in live (real-time) the data if have a modification, so every X sec receive automaticaly, or when someone add data (form),
how i can receive the data without refreshing the page?
thanks

Replies

  • netcomnetcom Posts: 5Questions: 0Answers: 0
    Someone can help me?
  • codemonkcodemonk Posts: 24Questions: 0Answers: 0
    i don't know exactly how to do it, maybe you can force a redraw using fnDraw function
  • girishmrgirishmr Posts: 137Questions: 0Answers: 0
    edited December 2012
    [quote]codemonk said: you can force a redraw using fnDraw function[/quote]

    I agree. Use something like time delay and redraw the table
    For reference, you can just check Flot - Charts plugin for jQuery

    http://people.iola.dk/olau/flot/examples/realtime.html => Here the chart is updated every 30 ms. Hope this gives you an idea how you can achieve this.
This discussion has been closed.