Options
All
  • Public
  • Public/Protected
  • All
Menu

grid 布局系统

Hierarchy

  • ContainerBase
    • Grid

Index

Constructors

constructor

  • new Grid(config: IGridConfig): Grid
  • Parameters

    • config: IGridConfig

    Returns Grid

Properties

cols

cols: number[]

css

css: GridStyle

gridType

gridType: GridType

网格类型 默认: 12 列

space

space: space

列间距

Private Static hasIniGlobalCss

hasIniGlobalCss: boolean = false

全局的样式初始化标志 全局样式只是初始化一次

Methods

addColumn

  • 添加列

    Parameters

    Returns void

doDragPut

  • doDragPut(to: any, from: any, elem: any, event: any): boolean
  • Parameters

    • to: any
    • from: any
    • elem: any
    • event: any

    Returns boolean

doGetClassName

  • doGetClassName(): string
  • Returns string

doGetCss

  • doGetCss(): GridStyle
  • Returns GridStyle

getAttrEditors

  • getAttrEditors(): AttributeEditorBase[]
  • Returns AttributeEditorBase[]

getColumns

  • getColumns(): ComponentBase[]
  • 获取列的数组

    Returns ComponentBase[]

    返回列的数组

getDefalutColumns

  • 得到模板设置的默认的列数组

    Returns GridColumn[]

render

  • render(parentCmp: any): void
  • Parameters

    • parentCmp: any

    Returns void

Generated using TypeDoc