小编Raj*_*Sah的帖子

getting table heading name using jquery

How can I get the column heading name of the corresponding cell clicked using jquery plugin: bootstrap-table

$("#voterTable").on('click-cell.bs.table', function(field, value, row, element) {
      console.log(field);
   });
Run Code Online (Sandbox Code Playgroud)

I have tried something like this, but it gives an object and I couldn't find the column heading property. I have also tried finding column heading in element and value argument but couldn't find the column heading property.

jquery bootstrap-table

1
推荐指数
1
解决办法
152
查看次数

标签 统计

bootstrap-table ×1

jquery ×1