I use fine DataTables for my website.

In a few rows it can happens that the string is very very long (e.g. 500 to 1000 chars).

How to cut that at 20 signs, add "..." and put that in a tooltip?

(of course I know substring and know how to add a tooltip, I just want to know if there is a feature / option for me on datatables or on which event I can get the data and cut it and add a tooltip to the cell)