Interface DataTable

Index

Methods

Methods

public $(selector: string, opts?: RowParams): JQuery

Parameters

Returns

JQuery

public $(selector: Array<Node>, opts?: RowParams): JQuery

Parameters

  • selector: Array<Node>
  • opts?: RowParams optional

Returns

JQuery

public $(selector: JQuery, opts?: RowParams): JQuery

Parameters

Returns

JQuery

public _(selector: string, opts?: RowParams): Array<any>

Parameters

Returns

Array<any>

public _(selector: Array<Node>, opts?: RowParams): Array<any>

Parameters

  • selector: Array<Node>
  • opts?: RowParams optional

Returns

Array<any>

public _(selector: JQuery, opts?: RowParams): Array<any>

Parameters

Returns

Array<any>

public fnAddData(data: any, redraw?: boolean): Array<number>

Parameters

  • data: any
  • redraw?: boolean optional

Returns

Array<number>

public fnAdjustColumnSizing(redraw?: boolean)

Parameters

  • redraw?: boolean optional

public fnClearTable(redraw?: boolean)

Parameters

  • redraw?: boolean optional

public fnClose(node: Node): number

Parameters

  • node: Node

Returns

number

public fnDeleteRow(index: number, callback?: () => void, redraw?: boolean): Array<any>

Parameters

  • index: number
  • callback?: () => void optional
  • redraw?: boolean optional

Returns

Array<any>

public fnDeleteRow(tr: Node, callback?: () => void, redraw?: boolean): Array<any>

Parameters

  • tr: Node
  • callback?: () => void optional
  • redraw?: boolean optional

Returns

Array<any>

public fnDestroy(remove?: boolean)

Parameters

  • remove?: boolean optional

public fnDraw(complete?: boolean)

Parameters

  • complete?: boolean optional

public fnFilter(input: string, column?: number, regex?: boolean, smart?: boolean, showGlobal?: boolean, caseInsensitive?: boolean)

Parameters

  • input: string
  • column?: number optional
  • regex?: boolean optional
  • smart?: boolean optional
  • showGlobal?: boolean optional
  • caseInsensitive?: boolean optional

public fnGetData(row?: Node, col?: number): any

Parameters

  • row?: Node optional
  • col?: number optional

Returns

any

public fnGetData(row?: number, col?: number): any

Parameters

  • row?: number optional
  • col?: number optional

Returns

any

public fnGetNodes(row?: number): any

Parameters

  • row?: number optional

Returns

any

public fnGetPosition(node: Node): any

Parameters

  • node: Node

Returns

any

public fnIsOpen(tr: Node): boolean

Parameters

  • tr: Node

Returns

boolean

public fnOpen(node: Node, html: string, clazz: string): Node

Parameters

  • node: Node
  • html: string
  • clazz: string

Returns

Node

public fnOpen(node: Node, html: Node, clazz: string): Node

Parameters

  • node: Node
  • html: Node
  • clazz: string

Returns

Node

public fnOpen(node: Node, html: JQuery, clazz: string): Node

Parameters

  • node: Node
  • html: JQuery
  • clazz: string

Returns

Node

public fnPageChange(action: string, redraw?: boolean)

Parameters

  • action: string
  • redraw?: boolean optional

public fnPageChange(page: number, redraw?: boolean)

Parameters

  • page: number
  • redraw?: boolean optional

public fnSetColumnVis(column: number, show: boolean, redraw?: boolean)

Parameters

  • column: number
  • show: boolean
  • redraw?: boolean optional

public fnSettings(): Settings

Returns

Settings

public fnSort(col: number)

Parameters

  • col: number

public fnSort(col: Array<any[]>)

Parameters

  • col: Array<any[]>

public fnSortListener(node: Node, column: number, callback?: () => void)

Parameters

  • node: Node
  • column: number
  • callback?: () => void optional

public fnUpdate(data: any, row: Node, column?: number, redraw?: boolean, action?: boolean): number

Parameters

  • data: any
  • row: Node
  • column?: number optional
  • redraw?: boolean optional
  • action?: boolean optional

Returns

number

public fnUpdate(data: any, dataIndex: number, column?: number, redraw?: boolean, action?: boolean): number

Parameters

  • data: any
  • dataIndex: number
  • column?: number optional
  • redraw?: boolean optional
  • action?: boolean optional

Returns

number

public fnVersionCheck(version: string): boolean

Parameters

  • version: string

Returns

boolean