Refreshing Datatable in real time and showing a automatic popup based on cell value threshold
Refreshing Datatable in real time and showing a automatic popup based on cell value threshold
Hi,
I have a scenario where I need to refresh the data after every 5secs based on data ingested in backend database. Then i need to show a popup on top of datatable itself if any of the value crossed the threshold limit.
I am able to highlight the cell values using this piece of code
"createdRow": function ( row, data, index ) {
if ( data["col1"] > 40000 ) {
$('td', row).eq(0).addClass('highlight');
}
},
But not sure how to show an automatic popup in datatable. Is there any feature in datatable for this kind of scenarios?
Thanks in Advance.
Regards,
Vipul