I have this function for row click:
$("#table").on("click-row.bs.table", function (row, $el, field) {
if (column != 4) {
}
});
and what condition I could add which would exclude a specific column or cells in the column? I can't find under row, $el or field
things which would identify for ex. a cell index.
I've finally found the answer for my question (if somebody would need it, it's more simple then I thought):
$("#table").on("click-cell.bs.table", function (field, value, row, $el) {
if (value !="column_name"){
//the code
}
});
here is an example (with the access to all the values of the clicked row): jsfiddle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With