Searching sensitive infos

Searching sensitive infos

ikkharikkhar Posts: 2Questions: 1Answers: 0

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

Answers

  • allanallan Posts: 52,661Questions: 1Answers: 8,058 Site admin
    Answer ✓

    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 the display type. Meanwhile, filtering, sorting and type detection would all return the original unformatted number.

    Allan

  • ikkharikkhar Posts: 2Questions: 1Answers: 0

    Thanks Allan !

Sign In or Register to comment.