Multi filter by select no efficient with links ...

Multi filter by select no efficient with links ...

sweetspotsweetspot Posts: 2Questions: 0Answers: 0
edited November 2012 in DataTables 1.9
I wood like use the data tables like in file "multi_filter_select.html) but I have many problems with a items with links.

The select get well the items, but twice. For example : I have my item, and I find, in the select : my item">my item. As a result sorting does not work, and I do not know how to remove the part "my item">

Have you any advise ? Thanks.

Marc from Paris

Replies

  • allanallan Posts: 63,394Questions: 1Answers: 10,450 Site admin
    Sounds like you need to strip the HTML before building the `select` values. `str.replace( /<.*?>/g, "" )` is what I use to strip HTML in DataTables.

    Allan
This discussion has been closed.