CTRL-F style incremental search

CTRL-F style incremental search

dtubbsdtubbs Posts: 2Questions: 0Answers: 0
edited February 2014 in General
I assume this is so trivial that no one ever asks because I cannot find it even discussed anywhere. We need the ability to search rather than filter, as in, leave all content in the table (or the displayable table if using scroller) but allow a user to search for things and have the table scroll to the next occurrence but not remove the non-containing rows. Can someone please give some hints?

Thanks,
Tubbs

Replies

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin
    > I assume this is so trivial that no one ever asks because I cannot find it even discussed anywhere.

    Heh - wrong assumption :-). It has come up once or twice before, but very rarely.

    DataTables' built-in filtering won't help here, as it really is filtering - elements are removed from the display index array. You would need to use the API to find the data you want and then scroll to the row externally.

    Allan
  • dtubbsdtubbs Posts: 2Questions: 0Answers: 0
    OK, thanks Allan, I appreciate the response. I'll dig into that.

    Tubbs
This discussion has been closed.