Selected Column

Selected Column

wuwuwuwu Posts: 52Questions: 17Answers: 0

Hi, I am using below codes in getting the selected row value and it is working. But I want to know also what column user has clicked?

table.on('select', function (e, dt, type, indexes) {
    if (type === 'row') {
        $("#hiddenOperNum").val(table.rows({ selected: true }).data()[0]['CurrentOperNum']);
     }
});

Answers

Sign In or Register to comment.