HTML5 data-search using external json source
HTML5 data-search using external json source
madmike
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
This discussion has been closed.
Answers
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