I've shiny application using datatable and when network disconnected and resumed data table will throw a alert popup dialog in the browser
DataTables warning: table id= `{id}` - Ajax error
I googled and read some suggestion and come with following code insert into server code.
tags$script("$(function() {$.fn.dataTableExt.errMode = function(settings, tn, msg) { console.log(msg); }; });"),
tags$script("$.fn.dataTable.ext.errMode = 'throw';"),
tags$script("$.fn.dataTable.ext.errMode = 'none;"),
but none of above work, still see datatable warning msg anyway.
Can you help me with this? it is very hard to explain what is this error to end user. it becomes critical to resolving it with high impact now.
thank you.
Yi