Interface TableView

Hierarchy

Index

Properties

Methods

Properties

public accessibilityHidden: boolean

public accessibilityHint: string

public accessibilityLabel: string

public accessibilityValue: string

public allowsSelection: boolean

public allowsSelectionDuringEditing: boolean

public anchorPoint: Point

public animatedCenter: Point

public backgroundColor: string

public backgroundDisabledColor: string

public backgroundDisabledImage: string

public backgroundFocusedColor: string

public backgroundFocusedImage: string

public backgroundGradient: Gradient

public backgroundImage: string

public backgroundLeftCap: number

public backgroundRepeat: boolean

public backgroundSelectedColor: string

public backgroundSelectedImage: string

public backgroundTopCap: number

public borderColor: string

public borderRadius: number

public borderWidth: number

public bottom: any

public bubbleParent: boolean

public center: Point

public children: View[]

public data: any

public editable: boolean

public editing: boolean

public enabled: boolean

public filterAttribute: string

public filterCaseInsensitive: boolean

public focusable: boolean

public footerTitle: string

public footerView: View

public headerPullView: View

public headerTitle: string

public headerView: View

public height: any

public hideSearchOnSelection: boolean

public horizontalWrap: boolean

public index: TableViewIndexEntry[]

public keepScreenOn: boolean

public layout: string

public left: any

public maxRowHeight: number

public minRowHeight: number

public moveable: boolean

public moving: boolean

public opacity: number

public overScrollMode: number

public rect: Dimension

public right: any

public rowHeight: number

public scrollIndicatorStyle: number

public scrollable: boolean

public scrollsToTop: boolean

public search: any

public searchAsChild: boolean

public searchHidden: boolean

public sectionCount: number

public sections: TableViewSection[]

public separatorColor: string

public separatorStyle: number

public showVerticalScrollIndicator: boolean

public size: Dimension

public softKeyboardOnFocus: number

public style: number

public tintColor: any

public top: any

public touchEnabled: boolean

public transform: any

public visible: boolean

public width: any

public zIndex: number

Methods

public add(view: View)

Parameters

public addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public animate(animation: Animation, callback: (...args: any[]) => any)

Parameters

  • animation: Animation
  • callback: (...args: any[]) => any

public animate(animation: Dictionary, callback: (...args: any[]) => any)

Parameters

  • animation: Dictionary
  • callback: (...args: any[]) => any

public appendRow(row: TableViewRow, animation?: TableViewAnimationProperties)

Parameters

public appendRow(row: Dictionary, animation?: TableViewAnimationProperties)

Parameters

public appendRow(row: TableViewRow[], animation?: TableViewAnimationProperties)

Parameters

public appendRow(row: Dictionary[], animation?: TableViewAnimationProperties)

Parameters

public appendSection(section: TableViewSection, animation?: TableViewAnimationProperties)

Parameters

public appendSection(section: Dictionary, animation?: TableViewAnimationProperties)

Parameters

public appendSection(section: TableViewSection[], animation?: TableViewAnimationProperties)

Parameters

public appendSection(section: Dictionary[], animation?: TableViewAnimationProperties)

Parameters

public applyProperties(props: Dictionary)

Parameters

public convertPointToView(point: Point, destinationView: View): Point

Parameters

Returns

Point

public deleteRow(row: number, animation?: TableViewAnimationProperties)

Parameters

public deleteRow(row: TableViewRow, animation?: TableViewAnimationProperties)

Parameters

public deleteSection(section: number, animation?: TableViewAnimationProperties)

Parameters

public deselectRow(row: number)

Parameters

  • row: number

public finishLayout()

public fireEvent(name: string, event: Dictionary)

Parameters

public getAccessibilityHidden(): boolean

Returns

boolean

public getAccessibilityHint(): string

Returns

string

public getAccessibilityLabel(): string

Returns

string

public getAccessibilityValue(): string

Returns

string

public getAllowsSelection(): boolean

Returns

boolean

public getAllowsSelectionDuringEditing(): boolean

Returns

boolean

public getAnchorPoint(): Point

Returns

Point

public getAnimatedCenter(): Point

Returns

Point

public getBackgroundColor(): string

Returns

string

public getBackgroundDisabledColor(): string

Returns

string

public getBackgroundDisabledImage(): string

Returns

string

public getBackgroundFocusedColor(): string

Returns

string

public getBackgroundFocusedImage(): string

Returns

string

public getBackgroundGradient(): Gradient

Returns

Gradient

public getBackgroundImage(): string

Returns

string

public getBackgroundLeftCap(): number

Returns

number

public getBackgroundRepeat(): boolean

Returns

boolean

public getBackgroundSelectedColor(): string

Returns

string

public getBackgroundSelectedImage(): string

Returns

string

public getBackgroundTopCap(): number

Returns

number

public getBorderColor(): string

Returns

string

public getBorderRadius(): number

Returns

number

public getBorderWidth(): number

Returns

number

public getBottom(): any

Returns

any

public getBubbleParent(): boolean

Returns

boolean

public getCenter(): Point

Returns

Point

public getChildren(): View[]

Returns

View[]

public getData(): any

Returns

any

public getEditable(): boolean

Returns

boolean

public getEditing(): boolean

Returns

boolean

public getEnabled(): boolean

Returns

boolean

public getFilterAttribute(): string

Returns

string

public getFilterCaseInsensitive(): boolean

Returns

boolean

public getFocusable(): boolean

Returns

boolean

public getFooterTitle(): string

Returns

string

public getFooterView(): View

Returns

View

public getHeaderPullView(): View

Returns

View

public getHeaderTitle(): string

Returns

string

public getHeaderView(): View

Returns

View

public getHeight(): any

Returns

any

public getHideSearchOnSelection(): boolean

Returns

boolean

public getHorizontalWrap(): boolean

Returns

boolean

public getIndex(): TableViewIndexEntry[]

Returns

TableViewIndexEntry[]

public getKeepScreenOn(): boolean

Returns

boolean

public getLayout(): string

Returns

string

public getLeft(): any

Returns

any

public getMaxRowHeight(): number

Returns

number

public getMinRowHeight(): number

Returns

number

public getMoveable(): boolean

Returns

boolean

public getMoving(): boolean

Returns

boolean

public getOpacity(): number

Returns

number

public getOverScrollMode(): number

Returns

number

public getRect(): Dimension

Returns

Dimension

public getRight(): any

Returns

any

public getRowHeight(): number

Returns

number

public getScrollIndicatorStyle(): number

Returns

number

public getScrollable(): boolean

Returns

boolean

public getScrollsToTop(): boolean

Returns

boolean

public getSearch(): any

Returns

any

public getSearchAsChild(): boolean

Returns

boolean

public getSearchHidden(): boolean

Returns

boolean

public getSectionCount(): number

Returns

number

public getSections(): TableViewSection[]

Returns

TableViewSection[]

public getSeparatorColor(): string

Returns

string

public getSeparatorStyle(): number

Returns

number

public getShowVerticalScrollIndicator(): boolean

Returns

boolean

public getSize(): Dimension

Returns

Dimension

public getSoftKeyboardOnFocus(): number

Returns

number

public getStyle(): number

Returns

number

public getTintColor(): string

Returns

string

public getTop(): any

Returns

any

public getTouchEnabled(): boolean

Returns

boolean

public getTransform(): any

Returns

any

public getVisible(): boolean

Returns

boolean

public getWidth(): any

Returns

any

public getZIndex(): number

Returns

number

public hide()

public insertRowAfter(index: number, row: TableViewRow, animation?: TableViewAnimationProperties)

Parameters

public insertRowAfter(index: number, row: Dictionary, animation?: TableViewAnimationProperties)

Parameters

public insertRowBefore(index: number, row: TableViewRow, animation?: TableViewAnimationProperties)

Parameters

public insertRowBefore(index: number, row: Dictionary, animation?: TableViewAnimationProperties)

Parameters

public insertSectionAfter(index: number, section: TableViewSection, animation?: TableViewAnimationProperties)

Parameters

public insertSectionAfter(index: number, section: Dictionary, animation?: TableViewAnimationProperties)

Parameters

public insertSectionBefore(index: number, section: TableViewSection, animation?: TableViewAnimationProperties)

Parameters

public insertSectionBefore(index: number, section: Dictionary, animation?: TableViewAnimationProperties)

Parameters

public remove(view: View)

Parameters

public removeAllChildren()

public removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public scrollToIndex(index: number, animation?: TableViewAnimationProperties)

Parameters

public scrollToTop(top: number, animation?: TableViewAnimationProperties)

Parameters

public selectRow(row: number)

Parameters

  • row: number

public setAccessibilityHidden(accessibilityHidden: boolean)

Parameters

  • accessibilityHidden: boolean

public setAccessibilityHint(accessibilityHint: string)

Parameters

  • accessibilityHint: string

public setAccessibilityLabel(accessibilityLabel: string)

Parameters

  • accessibilityLabel: string

public setAccessibilityValue(accessibilityValue: string)

Parameters

  • accessibilityValue: string

public setAllowsSelection(allowsSelection: boolean)

Parameters

  • allowsSelection: boolean

public setAllowsSelectionDuringEditing(allowsSelectionDuringEditing: boolean)

Parameters

  • allowsSelectionDuringEditing: boolean

public setAnchorPoint(anchorPoint: Point)

Parameters

public setBackgroundColor(backgroundColor: string)

Parameters

  • backgroundColor: string

public setBackgroundDisabledColor(backgroundDisabledColor: string)

Parameters

  • backgroundDisabledColor: string

public setBackgroundDisabledImage(backgroundDisabledImage: string)

Parameters

  • backgroundDisabledImage: string

public setBackgroundFocusedColor(backgroundFocusedColor: string)

Parameters

  • backgroundFocusedColor: string

public setBackgroundFocusedImage(backgroundFocusedImage: string)

Parameters

  • backgroundFocusedImage: string

public setBackgroundGradient(backgroundGradient: Gradient)

Parameters

public setBackgroundImage(backgroundImage: string)

Parameters

  • backgroundImage: string

public setBackgroundLeftCap(backgroundLeftCap: number)

Parameters

  • backgroundLeftCap: number

public setBackgroundRepeat(backgroundRepeat: boolean)

Parameters

  • backgroundRepeat: boolean

public setBackgroundSelectedColor(backgroundSelectedColor: string)

Parameters

  • backgroundSelectedColor: string

public setBackgroundSelectedImage(backgroundSelectedImage: string)

Parameters

  • backgroundSelectedImage: string

public setBackgroundTopCap(backgroundTopCap: number)

Parameters

  • backgroundTopCap: number

public setBorderColor(borderColor: string)

Parameters

  • borderColor: string

public setBorderRadius(borderRadius: number)

Parameters

  • borderRadius: number

public setBorderWidth(borderWidth: number)

Parameters

  • borderWidth: number

public setBottom(bottom: number)

Parameters

  • bottom: number

public setBottom(bottom: string)

Parameters

  • bottom: string

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setCenter(center: Point)

Parameters

public setContentInsets(edgeInsets: TableViewEdgeInsets, animated?: TableViewContentInsetOption)

Parameters

public setData(data: TableViewRow[], animation: TableViewAnimationProperties)

Parameters

public setData(data: Dictionary[], animation: TableViewAnimationProperties)

Parameters

public setData(data: TableViewSection[], animation: TableViewAnimationProperties)

Parameters

public setEditable(editable: boolean)

Parameters

  • editable: boolean

public setEditing(editing: boolean)

Parameters

  • editing: boolean

public setEnabled(enabled: boolean)

Parameters

  • enabled: boolean

public setFilterAttribute(filterAttribute: string)

Parameters

  • filterAttribute: string

public setFilterCaseInsensitive(filterCaseInsensitive: boolean)

Parameters

  • filterCaseInsensitive: boolean

public setFocusable(focusable: boolean)

Parameters

  • focusable: boolean

public setFooterTitle(footerTitle: string)

Parameters

  • footerTitle: string

public setFooterView(footerView: View)

Parameters

public setHeaderPullView(view: View)

Parameters

public setHeaderTitle(headerTitle: string)

Parameters

  • headerTitle: string

public setHeaderView(headerView: View)

Parameters

public setHeight(height: number)

Parameters

  • height: number

public setHeight(height: string)

Parameters

  • height: string

public setHideSearchOnSelection(hideSearchOnSelection: boolean)

Parameters

  • hideSearchOnSelection: boolean

public setHorizontalWrap(horizontalWrap: boolean)

Parameters

  • horizontalWrap: boolean

public setIndex(index: TableViewIndexEntry[])

Parameters

public setKeepScreenOn(keepScreenOn: boolean)

Parameters

  • keepScreenOn: boolean

public setLayout(layout: string)

Parameters

  • layout: string

public setLeft(left: number)

Parameters

  • left: number

public setLeft(left: string)

Parameters

  • left: string

public setMaxRowHeight(maxRowHeight: number)

Parameters

  • maxRowHeight: number

public setMinRowHeight(minRowHeight: number)

Parameters

  • minRowHeight: number

public setMoveable(moveable: boolean)

Parameters

  • moveable: boolean

public setMoving(moving: boolean)

Parameters

  • moving: boolean

public setOpacity(opacity: number)

Parameters

  • opacity: number

public setOverScrollMode(overScrollMode: number)

Parameters

  • overScrollMode: number

public setRight(right: number)

Parameters

  • right: number

public setRight(right: string)

Parameters

  • right: string

public setRowHeight(rowHeight: number)

Parameters

  • rowHeight: number

public setScrollIndicatorStyle(scrollIndicatorStyle: number)

Parameters

  • scrollIndicatorStyle: number

public setScrollable(scrollable: boolean)

Parameters

  • scrollable: boolean

public setScrollsToTop(scrollsToTop: boolean)

Parameters

  • scrollsToTop: boolean

public setSearch(search: SearchBar)

Parameters

public setSearch(search: SearchView)

Parameters

public setSearchAsChild(searchAsChild: boolean)

Parameters

  • searchAsChild: boolean

public setSearchHidden(searchHidden: boolean)

Parameters

  • searchHidden: boolean

public setSections(sections: TableViewSection[])

Parameters

public setSeparatorColor(separatorColor: string)

Parameters

  • separatorColor: string

public setSeparatorStyle(separatorStyle: number)

Parameters

  • separatorStyle: number

public setShowVerticalScrollIndicator(showVerticalScrollIndicator: boolean)

Parameters

  • showVerticalScrollIndicator: boolean

public setSoftKeyboardOnFocus(softKeyboardOnFocus: number)

Parameters

  • softKeyboardOnFocus: number

public setStyle(style: number)

Parameters

  • style: number

public setTintColor(tintColor: string)

Parameters

  • tintColor: string

public setTop(top: number)

Parameters

  • top: number

public setTop(top: string)

Parameters

  • top: string

public setTouchEnabled(touchEnabled: boolean)

Parameters

  • touchEnabled: boolean

public setTransform(transform: _2DMatrix)

Parameters

public setTransform(transform: _3DMatrix)

Parameters

public setVisible(visible: boolean)

Parameters

  • visible: boolean

public setWidth(width: number)

Parameters

  • width: number

public setWidth(width: string)

Parameters

  • width: string

public setZIndex(zIndex: number)

Parameters

  • zIndex: number

public show(args?: Array<any>)

Parameters

  • args?: Array<any> optional

public startLayout()

public toImage(callback?: (...args: any[]) => any, honorScaleFactor?: boolean): Blob

Parameters

  • callback?: (...args: any[]) => any optional
  • honorScaleFactor?: boolean optional

Returns

Blob

public updateLayout(params: Dictionary)

Parameters

public updateRow(index: number, row: TableViewRow, animation: TableViewAnimationProperties)

Parameters

public updateSection(index: number, section: TableViewSection, animation: TableViewAnimationProperties)

Parameters