Browse Source

更新 table 示例

pull/1201/head
贤心 2 years ago
parent
commit
51842182e8
  1. 1
      examples/table-test.html
  2. 2
      examples/table.html

1
examples/table-test.html

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

2
examples/table.html

@ -28,7 +28,7 @@
<table id="test-json"></table>
<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>
<tr>
<th lay-data="{checkbox:true, fixed:'left'}" rowspan="2"></th>

Loading…
Cancel
Save