Comments Lughen started the conversation[deleted] repliedSeptember 29, 2016 at 2:54pmHi Laughen,Thank you for your purchase.You can try with this one. You have to replace #table_1 selector with your actual table selector. jQuery(window).load(function() { var clickRow = jQuery("#table_1").on('click', 'tbody tr', function() { var id = jQuery(this).find("td:first").text(); alert(id); }).DataTable(); });1 Like 2Lughen repliedSeptember 29, 2016 at 3:11pmHi Milos,Thank you very much... It works perfectly. 2Lughen repliedSeptember 29, 2016 at 3:14pmHi Milos,One thing more, should it be always the id column? thanks.[deleted] repliedSeptember 29, 2016 at 3:57pmHi Lughen,No you can select any column. You can call var id how do you want and td:first is first column. You can change it to select any other column. 1 Like 2Lughen repliedSeptember 30, 2016 at 3:21amHi Milos,Thank you very much. I got it. Sign in to reply ...
Hi Laughen,
Thank you for your purchase.
You can try with this one. You have to replace #table_1 selector with your actual table selector.
Hi Milos,
Thank you very much... It works perfectly.
Hi Milos,
One thing more, should it be always the id column? thanks.
Hi Lughen,
No you can select any column. You can call var id how do you want and td:first is first column. You can change it to select any other column.
Hi Milos,
Thank you very much. I got it.