欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Layui實(shí)現(xiàn)數(shù)據(jù)表格默認(rèn)全部顯示(不要分頁)

 更新時(shí)間:2019年10月26日 14:45:49   作者:CherryLee_1210  
今天小編就為大家分享一篇Layui實(shí)現(xiàn)數(shù)據(jù)表格默認(rèn)全部顯示(不要分頁),具有很好的參考價(jià)值,希望對(duì)大家有所幫助。一起跟隨小編過來看看吧

啥也不說了,上段代碼吧

table.render({
   elem: '#check-data-list'
   , height: 480
   , title: '監(jiān)測任務(wù)列表信息'
   , limit: Number.MAX_VALUE // 數(shù)據(jù)表格默認(rèn)全部顯示
   , cols: [[
    {field: 'id', title: '序號(hào)', width: 60, style: 'font-size: 12px; color: #666'},
    {field: 'modelNum', title: '任務(wù)編號(hào)', style: 'font-size: 12px; color: #666'},
    {field: 'monitoringTime', title: '監(jiān)測時(shí)間', style: 'font-size: 12px; color: #666'},
    {field: 'taskStatus', title: '任務(wù)狀態(tài)', templet: "#status", style: 'font-size: 12px; color: #666'},
    {field: 'overTime', title: '結(jié)束時(shí)間', templet: "#over", style: 'font-size: 12px; color: #666'},
    {
     field: 'report',
     title: '報(bào)告',
     event: 'viewReport',
     width: 60,
     templet: "#reportID",
     style: 'font-size: 12px; color: #3A87F3; cursor:pointer'
    }
   ]]
   , cellMaxWidth: 100
   , parseData: function (res) {
    return res;
   }
   , data: data
   , id: 'check-data-list'
  });

以上這篇Layui實(shí)現(xiàn)數(shù)據(jù)表格默認(rèn)全部顯示(不要分頁)就是小編分享給大家的全部內(nèi)容了,希望能給大家一個(gè)參考,也希望大家多多支持腳本之家。

相關(guān)文章

最新評(píng)論