Ellipsis renderer with variable starting postition

Ellipsis renderer with variable starting postition

Christoph.NChristoph.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

Answers

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin

    Hi Christoph,

    That's a nice idea - thanks. Unfortunately no, that is not something the ellipsis renderer can do.

    Allan

This discussion has been closed.