Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 617 Bytes

table.rst

File metadata and controls

33 lines (22 loc) · 617 Bytes

Table

The table widget is a widget for displaying tabular data. It can be instantiated with the list of headings and then data rows can be added.

Usage

import toga

table = toga.Table(['Heading 1', 'Heading 2'])

# Append to end of table
table.insert(None, 'Value 1', 'Value 2')

# Insert to row 2
table.insert(2, 'Value 1', 'Value 2')

Supported Platforms

Reference

toga.interface.widgets.table.Table