layui中可以使用table.checkStatus('ID')方法获取table某一行的值,其中ID为基础参数。
【自动化渲染】
<table class="table" lay-data="{id: 'idTest'}"> …… </table>【方法渲染】
table.render({ //其它参数省略
id: 'idTest'
});调用:
layui获取table某一行值的方法:首先打开相应的代码文件;然后使用"table.checkStatus('ID')"方式获取table某一行的值即可。
layui中可以使用table.checkStatus('ID')方法获取table某一行的值,其中ID为基础参数。
【自动化渲染】
<table class="table" lay-data="{id: 'idTest'}"> …… </table>【方法渲染】
table.render({ //其它参数省略
id: 'idTest'
});调用: