Integrate hyperlink into select filter?

Integrate hyperlink into select filter?

alusscalussc Posts: 18Questions: 0Answers: 0
edited February 2013 in DataTables 1.9
Is it possible to integrate an individual (clickable) hyperlink in a select filter-menue? The hyperlink is not part of the database/ table.

Regards

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    edited February 2013
    So an `a` tag filters the table? Yes, just have it call fnFilter .

    Allan
  • alusscalussc Posts: 18Questions: 0Answers: 0
    No sorry, I meant something different. I'ld like to put just a normal hyperlink into the filtermenu, that redirects to another page. The hyperlink has nothing to do with the data from the table.
    E.g.: type:"select", sSelector: "#Filter", values: ['Option1', 'Option2', 'Hyperlink to another page']}

    Thanks!
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    I'm afraid I don't really see how this relates to DataTables? What is the filter menu?

    Allan
  • alusscalussc Posts: 18Questions: 0Answers: 0
    We use a dd-menu to filter the data in the datatables-table. The options are defined as you can see above. Normally the entries a related to the data in table but I'ld like to integrate an entry (hyperlink) that is NOT related to the data in the table. So is there an easy way to tell datatables that it should NOT filter the data in table and just open a hyperlink?
This discussion has been closed.