Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TreeListControl<T>

Type parameters

  • T

Hierarchy

Implements

Index

Properties

items

items: Item<T>

moveValidateFunc

moveValidateFunc: function

Type declaration

    • (item: Item<T>, target: Item<T>, fromIndex: number, toIndex: number): boolean
    • Parameters

      • item: Item<T>
      • target: Item<T>
      • fromIndex: number
      • toIndex: number

      Returns boolean

selectFunc

selectFunc: function

Type declaration

    • (item: Item<T>): void
    • Parameters

      Returns void

Methods

addClass

  • addClass(cls: string): this

buildInit

css

  • css(css: object): this
  • Parameters

    • css: object
      • [key: string]: any

    Returns this

getElem

  • getElem(): JQuery

getWrappedControl

  • getWrappedControl(): object | null

newItem

  • newItem(): void
  • Returns void

off

  • off(event: string, callback: function): this
  • Parameters

    • event: string
    • callback: function
        • (e?: JQueryEventObject): void
        • Parameters

          • Optional e: JQueryEventObject

          Returns void

    Returns this

on

  • on(event: string, callback: function): this
  • Parameters

    • event: string
    • callback: function
        • (e?: JQueryEventObject): void
        • Parameters

          • Optional e: JQueryEventObject

          Returns void

    Returns this

removeClass

  • removeClass(cls: string): this

selectItem

  • selectItem(item: Item<any>): void
  • Parameters

    Returns void

setEnabled

  • setEnabled(enabled: boolean): void

setTitle

  • setTitle(title: string): this

setTooltip

  • setTooltip(value: string | boolean, placement?: undefined | string, trigger?: undefined | string): void
  • Parameters

    • value: string | boolean
    • Optional placement: undefined | string
    • Optional trigger: undefined | string

    Returns void

setVisible

  • setVisible(visible: boolean): this

trigger

  • trigger(event: string, extraParameters?: any): this
  • Parameters

    • event: string
    • Optional extraParameters: any

    Returns this

updateTree

  • updateTree(): void
  • Returns void

Static wrapControl