更新 table 示例

pull/1201/head
贤心 2 years ago
parent edad983efa
commit 51842182e8

@ -135,6 +135,7 @@ layui.use(['table', 'dropdown'], function(){
//,size: 'sm' //,size: 'sm'
//,skin: 'line' //,skin: 'line'
//,even: true
//,loading: false //,loading: false
,totalRow: true ,totalRow: true

@ -28,7 +28,7 @@
<table id="test-json"></table> <table id="test-json"></table>
<div style="display: none1;"> <div style="display: none1;">
<table class="layui-table" lay-data="{width:800, height: 300, url:'json/table/demo2.json', page: true, limit: 6, toolbar: true}"> <table class="layui-table" lay-data="{width:800, height: 300, url:'json/table/demo2.json', page: true, even: true, limit: 6, toolbar: true}">
<thead> <thead>
<tr> <tr>
<th lay-data="{checkbox:true, fixed:'left'}" rowspan="2"></th> <th lay-data="{checkbox:true, fixed:'left'}" rowspan="2"></th>

Loading…
Cancel
Save