MouseOver on a row
MouseOver on a row
enne87
Posts: 5Questions: 0Answers: 0
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
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
This discussion has been closed.
Replies
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.