Can you share data table 1.9.4 search functionality code?

Can you share data table 1.9.4 search functionality code?

nikeshamnikesham Posts: 3Questions: 1Answers: 0
edited September 2014 in Free community support

I have checked http://datatables.net/forums/discussion/15661/changed-search-behaviour-between-1-9-0-and-1-9-4, its using html implementation , can we handle it other way?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    You want to be able to search the html tags?! Fair enough, but you would probably need to remove or override the html type in DataTables to stop it remove detecting and stripping the tags.

    Allan

  • nikeshamnikesham Posts: 3Questions: 1Answers: 0

    Hi Allan,

    I want to implement search on only first column of data table..

    Does 1.9.4 provide search functionality? If yes, how to configure data table, can you please share the code?

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Answer ✓

    Does 1.9.4 provide search functionality?

    Yes

    I want to implement search on only first column of data table..

    Use the bSearchable option: http://legacy.datatables.net/ref#bSearchable .

    Allan

  • nikeshamnikesham Posts: 3Questions: 1Answers: 0

    Hi Allan,

    We have tried searching with fnFilter. We were able to achieve search functionality however after doing that sorting in table is not working.

    Please note here we have used fix column too.

    Requirement for table is:
    sorting
    searching on specific column
    Fixedcoulmn

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    Please link to a test case showing the issue so it can be debugged. Please also be aware that 1.9.4 is no longer supported since 1.10 is now available.

    Allan

This discussion has been closed.