Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

ctrlId

ctrlId: string

This is the actual name of the component

el

el: ExtElement

rendered

rendered: boolean

self

self: { TypeStr: string }

Type declaration

  • TypeStr: string

Static TypeStr

TypeStr: string

Methods

getCtrlPropValue

  • getCtrlPropValue(propertyName: string): any

getCtrlValue

  • getCtrlValue(): string | number | boolean

getHeight

  • getHeight(): number

getInnerDataView

  • getInnerDataView(callback: Function): void
  • Gets the inner ExtJS dataview.
    If the dataview is not rendered at the call time (e.g. dataview in hidden wizard page) the callback is automatically deferred until the dataview is actually rendered.

    Parameters

    • callback: Function

    Returns void

getSize

  • getSize(): { height: number; width: number }

hasCls

  • hasCls(cls: string): boolean

on

  • on(eventName: string, callback: Function, scope?: any, options?: object): void

scrollItemIntoView

  • scrollItemIntoView(value?: string | number | boolean, pos?: "Center" | "Top" | "Bottom", ifNeeded?: boolean, animateDuration?: number, scrollInnerDV?: boolean): void
  • Scrolls the selected item into view.\

    !!! Note !!!

    This function hasn't been tested & used a lot so far which means that it could easily be that it won't work under all conditions (e.g. horizontal scrolling, elements with absolute positioning etc)

    Parameters

    • Optional value: string | number | boolean

      If not given the currently selected one will be scrolled into view

    • Optional pos: "Center" | "Top" | "Bottom"
    • Optional ifNeeded: boolean
    • Optional animateDuration: number
    • Optional scrollInnerDV: boolean

    Returns void

setCtrlBckgr

  • setCtrlBckgr(value: string): void

setCtrlHeight

  • setCtrlHeight(value: string | number): void

setCtrlVisibility

  • setCtrlVisibility(value: boolean | Show | Hide | PluggedOut, updateCtrlProperty?: boolean): void

setCtrlWidth

  • setCtrlWidth(value: string): void

setDataviewValue

  • setDataviewValue(value: string | number | boolean, silent?: boolean): void
  • Parameters

    • value: string | number | boolean

      The value of the item that should be selected

    • Optional silent: boolean

    Returns void

setDisabled

  • setDisabled(value: boolean): void

setEntries

  • Fills the dataview store with the given data

    Parameters

    • entries: ListCtrlEntryData[] | object[]

      An array of ListCtrlEntryData if the dataview is using a standard layout (i.e. property Custom layout is not set).
      If using a custom layout, the given properties inside entries need to match the properties used in the layout (usually everything after values.).

    Returns void

setUserCssClass

  • setUserCssClass(cls: string): void

un

  • un(eventName: string, callback: Function, scope?: any): void

Generated using TypeDoc