Formatting Date on table column header not cell

Formatting Date on table column header not cell

user5674637user5674637 Posts: 5Questions: 2Answers: 1

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

Answers

  • user5674637user5674637 Posts: 5Questions: 2Answers: 1
    Answer ✓

    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.

This discussion has been closed.