'Prevent to remove spcaes between Action Icon of DataTable for HTML created in the ajax response
Video Link: https://drive.google.com/file/d/1vWfoYWsOT_DSfKOTuE1dH2xxhdl51UCd/view?usp=sharing
I am creating the HTML code to redraw dataTable in ajax response. But when I put the line like:
$('#bookingList').DataTable().destroy();
$('#tr_replace').html(createdHtml);
$('#bookingList').DataTable();
It is bound well but spaces between the action icon are gone.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|