Tooltip Not Appending to DataTable Cell
Tooltip Not Appending to DataTable Cell
Link to test case: https://jsfiddle.net/BeerusDev/mznL52p8/18/
Error messages shown: None
Description of problem: After a bunch of research, I came across this renderer https://datatables.net/blog/2016-02-26#Simple-renderer, that implements a tooltip over a cell. I don't get any errors when I use it other than. It will populate all cells but then I enter this new renderer and it no longer populates the MondayStatus column.
DataTables warning: table id=myTable - Requested unknown parameter 'MondayStatus' for row 0, column 3. For more information about this error, please see http://datatables.net/tn/4
This question has an accepted answers - jump to answer
Answers
Disregard, I found a solution from this post and it works like a charm! https://datatables.net/forums/discussion/comment/186663/#Comment_186663
On a side note, how can I make the tooltip a bit bigger?
Here is my working test case: https://jsfiddle.net/BeerusDev/mznL52p8/22/
I'm not clear what you are trying to do but you have this:
The
columns.render
docs explain the parameters. Thedata
parameter is the data for that column which isMondayStatus
. Therow
contains the data for the row. Change the line 4 toreturn row.MondayLocation;
.Kevin