固定表头方法,导入框架在table里面填入数值,然后在js里面设置一定的高度

webUi
赵桐华 5 years ago
parent d7cda51631
commit 7e07ad58c0
  1. 2
      frontend/views/permissions/index.php

@ -23,7 +23,7 @@ use \common\libs\MyLib;
<div class="row">
<div class="col-md-12">
<table id="listTable" class="table table-bordered" id="table" data-toggle="table" data-height="689">
<thead class="bg-warning">
<thead class="warning">
<tr>
<th data-field="id">ID</th>
<th data-field="name">名称</th>

Loading…
Cancel
Save