example of hyperlink column

example of hyperlink column

ashiersashiers Posts: 101Questions: 8Answers: 7
edited August 2013 in General
Hi,

I went looking for an example where one column contained hyperlinks that would be clickable on mousedown event, or that the underlying data may be a URL but an image would be displayed to the user in the Table. Either way, is there such an example? Can it be done?

Alan

Replies

  • aaronwaaronw Posts: 89Questions: 3Answers: 4
    You can use mRender to change the display of any cell. In this case you might substitute in your image for the cell data and also assign a class that has a jquery on event tied to that class to change it on the mouseover event
  • rajarajananisrajarajananis Posts: 29Questions: 0Answers: 0
    https://www.datatables.net/forums/discussion/16482/navigation-link-in-a-datatable#Item_2.

    Hope this will help you!!
  • ashiersashiers Posts: 101Questions: 8Answers: 7
    Thanks guys. This helps.
This discussion has been closed.