Live Data - Remote Polling

If you are handling a live data feed, you can initialize your dataset to perform ajax-based polling at regular intervals to fetch your data. There are three different ways in which this data can be merged into your existing dataset:

You can edit the code in this block and rerun it.


If you have sync set to true when initializing your dataset, then fetch calls that append data in either the default manner or unique manner will trigger the "add" event. The resetOnFetch will trigger the "reset" event before triggering the "add" event. In all cases, the "add" event will be triggered once for all rows that were added.

« Creating a Dataset

Data Types »