<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # link 鏈接 ## 方法原型: ``` /** * @param string $name 字段名, 支持復雜結構的多級操作, 以英文句號分隔, 如: 'user.name' * @param string $title 標題 * @param string $type 類型, 須填寫link * @param array|string $option 要跳轉的url地址, 或操作選項, 詳見按鈕操作 * @param string $default 默認值 * @param array $attr 觸發器等其他屬性: { * trigger: {key: value}, // 用于控制當前列是否顯示, value可以是一個數組, 若傳了trigger參數, 只有當前行數據中出現在value中時才顯示 * fixed: 是否固定列, * show_tooltip: 是否在長度超出后顯示tooltip * } */ addColumn($name, $title, $type = 'link', $option = '', $default = '', $attr = []) ``` ## 調用方式: ``` return SBuilder::make('table') ->addColumn('name', '文件名', 'link', [ 'type' => 'link', 'target' => '_blank', 'url' => url('attachment/download', ['id' => '__id__']), ]) ->fetch(); ``` 或 ``` return SBuilder::make('table') ->addColumns([ ['name', '文件名', 'link', [ 'type' => 'link', 'target' => '_blank', 'url' => url('attachment/download', ['id' => '__id__']), ]], ... // 其他列 ]) ->fetch(); ``` > 頁面效果: > ![](https://img.kancloud.cn/0e/76/0e76127b6af4f094a0da83f23c39ba54_370x403.png) > 可通過option中的type屬性控制操作方式, 支持`link`, `pop`, `ajax`等方式, 詳見按鈕操作一節 > type為`link`時支持設置新頁面打開, 通過option的target參數控制, 如上面的示例 > url地址支持`__fieldName__`方式調用當前行的數據, 如上的示例 - 觸發器 可使用觸發器控制行數據是否在當前列顯示, 見`添加列`一章的觸發器
                  <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>

                              哎呀哎呀视频在线观看