I want to create new value for the columns.type format. For instance if I define a column
$('#' + idTable).dataTable( {
data: content,
columns: [{
"data": "rate",
"type": "percentage",
}]
});
Every time I set type to percentage, I want it to :
- call a specific render function for rendering the value (for instance multiply the value by 100 and append " %")
- call specific function for searching and sorting.
- why not automatically set specific option like searchable = false for percentage value.
How to archieve it ?