1 2 3 4 5 6 7 8 9 | $( '.my-datatable-div' ).DataTable( { "ajax" : { "contentType" : "application/json" , "type" : "POST" , "data" : function (d) { return JSON.stringify({ "languages" : [ "javascript" , "golang" ]}); } } }); |
Original list widget in dashing flickers annoyingly, as also mentioned here. That's simply because the widget redraws the complete list every time there's an update from the server side.
This widget, on the other hand, is an alternative and a drop-in replacement for the original list widget. It simply creates the list elements beforehand and updates the values inline so that the widget is rendered without any flickering.