Row Link in non-ajax tables

Row Link in non-ajax tables

chrisindfwchrisindfw Posts: 9Questions: 3Answers: 0

Is it possible to do a row hyperlink using a traditional HTML data (non-ajax)? Everything I have seen online reference ajax setups.

I also want to make sure the table is responsive and still allows the row clicking.

Replies

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    Whether it's ajax source data or data in the DOM it should behave the same. This thread should help, it's asking the same thing.

    Cheers,

    Colin

  • chrisindfwchrisindfw Posts: 9Questions: 3Answers: 0

    That link does not really help. I am asking for a row hyperlink. The problem is that the hyperlink is still enabled when the table is responsive and smaller. So you lose the ability to drill into the hidden fields.

    Is this even possible at all or am I stuck with an edit button on the row?

  • kthorngrenkthorngren Posts: 21,171Questions: 26Answers: 4,922
    edited May 2020

    Do you mean something like this?
    http://live.datatables.net/yaxixoyu/1/edit

    If not maybe you can update the example to show the issue you are having.

    Kevin

  • chrisindfwchrisindfw Posts: 9Questions: 3Answers: 0

    Thanks. Looks like I was trying to overthink things by doing a cell click instead of a simple hyperlink. I got it working. Thanks!

This discussion has been closed.