Is it possible to add Long Polling to the table view? I'm going to use a TV to display data submitted by sales person and I need the data to display on the tv without having to refresh the page.
Thanks.
Long Polling
Re: Long Polling
yes you can , ty the following
1- first you will need to get the ids of all records in the page , you can get them using jquery
2- them make a script that sends an ajax request to the back end to get their data
3- them the back end relpies with their data in Json format
4- use the returned json (the new data of the displayed records) to update your table view
5- put your ajax in set interval to run every some seconds you can decide them
if you follow these steps, it will help you
1- first you will need to get the ids of all records in the page , you can get them using jquery
2- them make a script that sends an ajax request to the back end to get their data
3- them the back end relpies with their data in Json format
4- use the returned json (the new data of the displayed records) to update your table view
5- put your ajax in set interval to run every some seconds you can decide them
if you follow these steps, it will help you
Re: Long Polling
Thanks, R Tammam, I'll try.