Created
February 16, 2023 08:54
-
-
Save shiv122/2a81a93abb61f7f23ca9def8b1a083e4 to your computer and use it in GitHub Desktop.
doble-click and batatable row values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on('dblclick', 'tr', function() { | |
const data = $('#report-table').DataTable().row(this).data(); | |
console.log(data); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment