HTML5 data-search using external json source

HTML5 data-search using external json source

madmikemadmike Posts: 30Questions: 4Answers: 0

Hi,

I have to use html content in cells, and I like to do filter search on it.
Using data-search attributes seems interesting for an efficient search, but how to fill them using external json sources.
Any example will be helpful.

Thanks,
Mike

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    edited December 2015

    If you are using a JSON data source then I would suggest bypassing the data attributes as that would introduce DOM read/writes which are not efficient since the data is already in Javascript.

    The orthogonal data section of the manual describes how this can be done. If you post your JSON format we might be able to offer a little more help.

    Allan

This discussion has been closed.