table.on('tool(demo)', function(obj){});監聽工具條事件,tool 是工具條事件名,demo 是 table 原始容器的屬性 lay-filter="對應的值";
table.on('toolbar(demo)', function(obj){});監聽頭部工具條事件,toolbar 是工具條事件名,demo 是 table 原始容器的屬性 lay-filter="對應的值";
table.on('edit(demo)', function(obj){});監聽單元格編輯事件,edit是固定事件名,demo是table原始容器的屬性 lay-filter="對應的值";
form.on('select(one_cate)', function(data){});監聽下拉菜單編輯事件,select是固定事件名,one_cate是select原始容器的屬性lay-filter=“對應的值”;
table.on('checkbox(demo)', function(obj){});監聽table數據表格中的復選框,checkbox 是工具條事件名,demo 是 table 原始容器的屬性 lay-filter="對應的值";
form.on(switch(filter),function(data){});監聽表單的switch開關,switch是固定事件名,filter是input原始容器的屬性lay-filter=“對應的值”;
暫時寫這么多,以后再補充。
