MouseOver on a row

MouseOver on a row

enne87enne87 Posts: 5Questions: 0Answers: 0
edited June 2011 in DataTables 1.8
Hi guys!

First of all, I'd like to congratulate you for such a great piece of code. This data table is amazing. Now my question: I'd like to open a info box as soon as I position the mouse cursor over a specific row. I don't want to click on the row, I only want to move the mouse over a row.
I couldn't find an adequate event handler so far, so is it possible to do something like this?

Cheers,

enne

Replies

  • GregPGregP Posts: 500Questions: 10Answers: 0
    edited June 2011
    Have a look at this example:

    http://datatables.net/release-datatables/examples/api/row_details.html

    Without going too deeply in-depth, you could repurpose this code to take out the parts that add the widget column, and then you would also use .live to bind to the row (instead of the widget) using the event 'hover' in place of the event 'click'.

    Sorry that's vague-ish instead of specific, but it'd be a bit of work to come up with sample code.
  • enne87enne87 Posts: 5Questions: 0Answers: 0
    Hm, I'll have a try, thanks Greg for your reply.
This discussion has been closed.