Metadata for columns
Metadata for columns
peterkronenberg
Posts: 112Questions: 0Answers: 0
I want to be able to store customized metadata for column headers, using JQuery's data() method. Will aoColumns let me define something like this?
Also, is there a render() method that only applies to the column headers? My column names are in this format (TWO_WORDS). I want to display them pretty, e.g., Two Words. But I need to save the original format.
Also, is there a render() method that only applies to the column headers? My column names are in this format (TWO_WORDS). I want to display them pretty, e.g., Two Words. But I need to save the original format.
This discussion has been closed.
Replies
Regarding the header - DataTables does very little to the table headers, so there are no manipulation functions for them. Rather, what is expected is that if you want to manipulate the headers, just do it using standard DOM / jQuery methods.
Allan