Search Disregard HTML in TD
See original GitHub issueI have a column with HTML data and I would like the search functionality to ignore HTML values and just parse the ABCDE value within the hyperlink. Is that possible?
If I search for “AB” in this example it pulls both records due to matching the href vales as well.
<tr>
<td>
<a href="/X/XX?AB=123&CD=Index&groupid=fdadd7e9">ABCDE</a>
</td>
</tr>
<tr>
<td>
<a href="/X/XX?AB=321&CD=Index&groupid=fdadd7e9">12345</a>
</td>
</tr>
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to get content between <td></td> only if no nested tags ...
2 Answers 2 · This correctly picks desired td but returns the tag as well. Note that I cant replace tags for a...
Read more ><td>: The Table Data Cell element - HTML - MDN Web Docs
The <td> HTML element defines a cell of a table that contains data. ... If align is not set to char , this...
Read more >What happens when aria-label, aria-labelledby and aria ...
They are OK on div elements IF they have role=navigation , search , main , img. They are OK on a table element...
Read more >Tables in HTML documents
11.1 Introduction to tables. The HTML table model allows authors to arrange data -- text, preformatted text, images, links, forms, form fields, other...
Read more >strip_tags - Manual - PHP
HTML comments and PHP tags are also stripped. This is hardcoded and can not be changed with allowed_tags . Note: Self-closing XHTML tags...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you are using
formatter
to format the column, I think you can setsearchFormatter
tofalse
to solve your problem(for example, search forgithub
): http://jsfiddle.net/e3nk137y/22751/ http://jsfiddle.net/e3nk137y/22753/I just moved the actions to the left most column (search disabled), to match the rest of the site, was a good work around.