Class RightItemsAttrEditor
Constructors
constructor
-
Parameters
-
cmp: any
-
attrConfig: IAttributeEditorBase
Properties
btnOptId
btnOptId: string
component
demo
demo: any
demoEditor
demoEditor: any
desc
desc: any
editor
editor: any
editorDemoId
editorDemoId: string
editorId
editorId: string
language
language: any
tableId
tableId: string
tableObj
tableObj: ITableInstance
toolbtnId
toolbtnId: string
Methods
addRigtItem
-
Parameters
Returns void
Private checkValue
-
Returns boolean
delRightItem
- delRightItem(id: string): void
-
Parameters
Returns void
doGetBodyHtml
-
Returns string
doGetCss
- doGetCss(): void & { ParamsAttrEditor: { & .layui-table td *: { font-size: string } } }
-
Returns void & { ParamsAttrEditor: { & .layui-table td *: { font-size: string } } }
doInitEditor
- doInitEditor(rightid: any, initValue: any): void
-
Parameters
-
rightid: any
-
initValue: any
Returns void
Protected doScriptCellClick
- doScriptCellClick(rightid: any, initValue: any, callback: (value: string) => void): void
-
Parameters
-
rightid: any
-
initValue: any
-
callback: (value: string) => void
Returns void
Private getCmps
- getCmps(): ContainerBase[]
-
Returns ContainerBase[]
Private getScriptEditorHtml
- getScriptEditorHtml(): string
-
Returns string
Private getScriptTemplete
- getScriptTemplete(rightid: any): string
-
Parameters
Returns string
getValue
-
refresh
-
Returns void
render
- render($parent: any): void
-
Parameters
Returns void
组件参数操作的属性编辑器