How to set active row with bootstrap-table -


i using bootstrap-table (http://issues.wenzhixin.net.cn/bootstrap-table/) , when click row want add class row indicate active row.

$mastertable.on('click-row.bs.table', function (row, $element) {     //what put here     updateexpense($element); }); 

$element data row mapped too

row object table unsure part of references active row.

does no more this?

solution provided on git hub forum.

here operational solution.

http://issues.wenzhixin.net.cn/bootstrap-table/#issues/563.html