Bootstrap-table获取选中行数据函数:
|
1
|
function getIdSelections() { return $.map($table.bootstrapTable('getSelections'), function (row) { return row.id//返回数据行中的id值 }); }
|
在需要获取选中行数据的位置调用上述函数即可
|
1
|
|
未经允许不得转载:主机阁 » Bootstrap-table获取选中行数据
主机阁






