How does click-cell.bs.table works?
<p>I want to expand the below row of a table by clicking a table cell of a above row. Now I'm doing it with <code>click-row.bs.table</code>. I'm using bootstrap table. How can I do it using <code>click-cell.bs.table</code>?</p>

<pre class="lang-js prettyprint-override"><code>emailRecTable.on("click-row.bs.table", function(e, row, $tr) {
    if ($tr.next().is('tr.detail-view')) {
        emailRecTable.bootstrapTable('collapseRow', $tr.data('index'));
    } else {
        emailRecTable.bootstrapTable('expandRow', $tr.data('index'));
    }
});
</code></pre>