Description
Changelog
Reviews (0)

Data Grid

A simple data grid control for presenting tabular data.

Features

  • Render data from Array[Array], Array[Dictionary], or Array[YourCustomClass]
  • Copy value from cell with Ctrl + C
  • Customizable styles
  • More to be added...

How to use

  1. Add a DataGrid to your scene.
  2. Set the column_definitions property via code or inspector.
  3. Set the data property.

Note

If the data is Array[Dictionary] or Array[YourCustomClass], the grid will use get to get the property value for each cell according to its column definition. Values are converted to strings with str, and you may want to override the _to_string method for custom classes.

The property name of a column definition can be empty if you are rendering an Array[Array].

Changelog for version 0.1.0

No changelog provided for this version.

Reviews

DataGrid has no reviews yet.

Login to write a review.