Filtering WITHOUT redraw

Filtering WITHOUT redraw

bcmolmisabcmolmisa Posts: 1Questions: 0Answers: 0
edited October 2011 in General
I would like to filter my table using datatables search box, BUT I only need to "highlight the rows" returned by filter and NOT to redraw table.
Is this possible? Thanks for any help!

Replies

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    Hi,

    It isn't directly possible in DataTables itself at the moment (i.e. its not a trivial initialisation parameter) as the built in filtering will always remove rows which don't match the filter. However, it would be quite possible to create a plug-in which sits on top of DataTables which will do what you are looking for - it just needs to implement its own basis matching of the input value and then manipulate the DOM as required.

    Allan
This discussion has been closed.