TableViewWidget

Parent GroupObject
Library widget.*
Return Value Group
Revision Release 2024.3703
Keywords table view, list view, TableViewWidget
See also widget.newTableView()

Overview

TableViewWidget objects are created using widget.newTableView().

Gotchas

The TableViewWidget object contains a mask which constrains its view to the defined width and height. There is a nested masking limit of 3, so care must be taken when inserting masked objects into other masked objects which act as containers, including display.newContainer, widget.newScrollView, widget.newTableView, or a masked display group. Other display objects that utilize masks include display.newText, display.newEmbossedText, and any other masked display object. For example, a text object (one mask) inside a container (one mask) inside yet another container (one mask) would reach but not exceed the limit of 3 nested masks.

Properties

(Inherits properties from GroupObject)

Methods

(Inherits methods from GroupObject)

object:insertRow()

object:reloadData()

object:deleteRow()

object:deleteRows()

object:deleteAllRows()

object:scrollToY()

object:scrollToIndex()

object:setIsLocked()

object:getContentPosition()

object:getNumRows()

object:getRowAtIndex()