<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC] > [碼云](https://gitee.com/Mr.zhaoGW/layui-form-table) ## 概述 自動根據內容搜索列表并進行展示 ![](https://img.kancloud.cn/ae/ce/aecebaf95c6f8715fe2eb35fc304d16f_883x284.png) 提示:原生的formTable只支持單機,添加下面代碼可添加單機時間 ``` //觸發行雙擊事件 table.on(`rowDouble(${tableName})`, function(obj){ var data = obj.data; a.table.rowDouble(data) }); //新增:觸發單機事件 table.on(`row(${tableName})`, function(obj){ var data = obj.data; a.table.row(data) }); ``` 使用: ``` ... rowDouble: (data) => { //觸發行雙擊事件 }, row: (data) => { //觸發行雙擊事件 } ... ``` ## 示例 ``` <input type="text" name="parts" placeholder="輸入'編碼'或'名稱'" autocomplete="off" class="layui-input" style="width:200px;float: left;height: 30px;"> layui.config({ base: '/plugin/layui/common/', //拓展模塊的根目錄 }) .extend({ formTable: '/formTable/formTable' }); layui.use(['table', 'form', 'formTable'], function () { const formTable= layui.formTable; // 查詢自動提示 formTable.render({ elem: 'input[name=parts]', url: "/getPart", width: 730, page: true, limit: 15, // 分頁 table: { cols: [[ { type: 'numbers', title: '編碼', width: '3%' }, { field: 'part_brand', title: '品牌', width: '10%' }, ]], height: 180, tool: { 'add': (data) => { // 表格tool觸發事件 }, }, rowDouble: (data) => { //觸發行雙擊事件 } }, }) }) ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看