找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 541|回復: 0

顯示 除錯

[複製鏈接]

257

主題

38

回帖

1138

積分

管理員

積分
1138
發表於 2023-5-25 11:06:21 | 顯示全部樓層 |閱讀模式

display

Since: Editor 1.0

Set the display controller for the main form interface. 
Please note - this property requires the Editor extension for DataTables.

Description

To show the main form to the end user, Editor uses a display controller. In basic terms, Editor will request that the display controller show the main form, but exactly how it does that display is entirely up to the display controller. This provides a huge amount of flexibility in Editor as your form can be show in any way you want!

There are two display controllers built into Editor:

Each display controller has its own options for configuration. Please refer to the documentation for the display controller for what options are available and how they can be configured.

Additional display controllers can be added to Editor as plug-ins. For information on how to develop display controllers, please refer to the Editor developer documentation. The styling integrations for Editor may also include their own display controllers - these are:

Please note that this option does not effect the display of the bubble and inline editing (bubble() and inline()) options of Editor.

Type

This option can be given in the following type(s):

Default

  • Value: lightbox

Use the lightbox display controller.

Example

Set the display type to envelope:

1
2
3
4
5
var editor = new $.fn.Editor( {
  ajax:    "php/staff.php",
  table:   "#myTable",
  display: "envelope"
} );

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|小黑屋|DoIT 科技論壇

GMT+8, 2025-6-15 21:29 , Processed in 0.014208 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回復 返回頂部 返回列表