Searching sensitive infos
Searching sensitive infos

Hi,
i'm using a table to display customers infos, some like phones numbers are displayed with ** ** in the middle by modifying "data" on display.
I would like to know if there's a way to use the search input to look at the data instead of the data displayed as i'm unable to search a customer when he give his number to open his customer profile?
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes, in DataTables we call this orthogonal data. Typically for the case you describe you would use a rendering function (
columns.render
) to format the telephone number for thedisplay
type. Meanwhile, filtering, sorting and type detection would all return the original unformatted number.Allan
Thanks Allan !