Formatting Date on table column header not cell
Formatting Date on table column header not cell
![user5674637](https://secure.gravatar.com/avatar/f3a153f14758b7199083ece0ede26c90/?default=https%3A%2F%2Fvanillicon.com%2Ff3a153f14758b7199083ece0ede26c90_200.png&rating=g&size=120)
Hi,
Simple question: Is it possible to format a table column header which value is a date? I know it is possible to format data cells via the render method however in this case I need to format the header.
Thank you.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I didn't think about the problem enough, all I must do is conditionally format the header if it is a date or not, this has nothing to do with datatables.js - @moderator you can delete this question if desired. Thanks.