Here is the best way to hide empty columns on and after datatables initialization

Here is the best way to hide empty columns on and after datatables initialization

I lost two days searching for a good solution on how to hide empty columns in jQuery dataTables via javascript, so i came to my own solution coding a new plugin, i think this will help others do it very quickly, if you find this plugin usefull feel free to extend it and post your code to help others improve their dataTables