datatables.mark.js | DataTables plugin for mark.js to highlight search terms | Plugin library
kandi X-RAY | datatables.mark.js Summary
kandi X-RAY | datatables.mark.js Summary
A DataTables plugin for mark.js to highlight search terms in tables
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of datatables.mark.js
datatables.mark.js Key Features
datatables.mark.js Examples and Code Snippets
Community Discussions
Trending Discussions on datatables.mark.js
QUESTION
I am trying to change the default behavior of DataTables search with no luck.
I am using the plugin mark.js with the datatables.mark.js plugin - Github (I am currently using DataTables 1.10.12).
I would like just to highlight the row with result and not to remove all the rows that are not matching.
I noticed that inside the function _fnDraw it gets the array that contains the matches.
So I tried to change that part like this:
...ANSWER
Answered 2018-Feb-19 at 08:26I made it wrapping these to lines of code inside the _fnDraw
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install datatables.mark.js
Either clone or download this plugin manually, or with npm:.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page