Holt59 / datatable

Javascript Plugin for data tables creation
http://holt59.github.io/datatable/
MIT License
108 stars 42 forks source link

'datatable' class name should be an option #3

Closed matthieucan closed 10 years ago

matthieucan commented 10 years ago

Hi, Is it possible to transform the 'datatable' class name into a parameter (which would default to 'datatable')? It'd help with the integration of datatable into html/css which already uses this class name for something else (and where I can't change it). I'm not sure it's easily feasible, though, as I guess this parameter must be stored somewhere. Let me know your thoughts and how I can help!

Cheers.

Holt59 commented 10 years ago

I updated the code (it was a minor change since the class is not really used in the plugin...), check it! I also updated the doc, so you'll see that the new option is "tableClass".

matthieucan commented 10 years ago

Thank you so much! It works perfectly :+1: Also kudos for this library, it's exactly what I needed.