Display only a special value

Display only a special value

SeppelchenSeppelchen Posts: 69Questions: 25Answers: 1
edited September 2014 in DataTables

Hello,

we had 4 column.
a b c d

now we want only display results if column b will had the word "Michael"
If column b will had other content we will don't display the row.

We need a solution please help.

It would be great if someone could provide an example... We also could post our php file that you can edit. :)

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    So you want a filter that is applied to the table's data? You could simply use the column().search() method to search the table could you not?

    Allan

  • SeppelchenSeppelchen Posts: 69Questions: 25Answers: 1

    Helo, could I please submit the file...? I don't know how :'(
    Or I will submit better FTP so you can fix we would also pay.

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    Here is a trivial example based on the information in the documentation I linked to above: http://live.datatables.net/yokurovu/1/edit . It shows the rows for "Software Engineer" only.

    Allan

  • SeppelchenSeppelchen Posts: 69Questions: 25Answers: 1
    edited September 2014

    Really really Great! :) It seems working well. :)

This discussion has been closed.