Styling table after loading
Styling table after loading

Not find smart solution for styling table?
My (no style) data loading from json file. I would like a table format like (HTML DOM) this http://live.datatables.net/naliperu/2/edit
Style property:
1. Header color is color column data.
2. All Date (Upload) is sunday then row change color
3. If Par4 is X then change color cell
My raw data (HTML DOM) simulation loading data from json http://live.datatables.net/naliperu/5/edit
Thx
This discussion has been closed.
Answers
Pretty hard for me to understand what you mean, but I'll give it a try:
If you want to change the header color use css and the api:
https://datatables.net/reference/api/column().header()
https://datatables.net/reference/api/columns().header()
Use rowCallback
https://datatables.net/reference/option/rowCallback
see example at the bottom of the page
I thought so from my example http://live.datatables.net/naliperu/2/edit
All this in example http://live.datatables.net/naliperu/5/edit