Holt59 / datatable

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

Was cleared all attributes from td. #42

Open tkatochin opened 5 years ago

tkatochin commented 5 years ago

It ’s interesting. Well done! Unfortunately, the class in td is deleted. I want to be able to sort while maintaining the original attributes.

diclonius commented 4 years ago

I still needed to preserve the attributes of the rows, but I solved by placing them after loading the datatable.

Specifically, I needed to put a class to all rows, where the value of a specific column is greater than zero.

Achieve doing it in the following way, I hope it helps you.

https://codeshare.io/5woYMR