Ellipsis renderer with variable starting postition
Ellipsis renderer with variable starting postition
Christoph.N
Posts: 1Questions: 1Answers: 0
Hello,
Iam referring to this blogpost:
https://datatables.net/blog/2016-02-26
Is it possible for the render function to use the searched strings position as the startingpoint for the returned substring:
What i want, is to display only a fixed substring around the searched string- e.g. substr(indexOf(searchedString)-100,100).
Thank you very much for your help in advance.
Bye
Christoph
This discussion has been closed.
Answers
Hi Christoph,
That's a nice idea - thanks. Unfortunately no, that is not something the ellipsis renderer can do.
Allan