Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35384

Editing Datatable

$
0
0

Hi,

I have a column in my datatable which is an edit icon. Onclick of that icon i wanted to retrieve the row and send a server call.

$('#department tbody').on('click', 'td.details-control', function () {
                        var rowIndex = table.fnGetPosition( $(this).closest('tr')[0] );

    } );

Instead of rowIndex I need the departmentId which is in 3rd column of the dataTable.

Is there a way to do that?


Viewing all articles
Browse latest Browse all 35384

Trending Articles