Description
Changelog
Reviews (0)
Data Grid
A simple data grid control for presenting tabular data.
Features
- Render data from
Array[Array],Array[Dictionary], orArray[YourCustomClass] - Copy value from cell with Ctrl + C
- Customizable styles
- More to be added...
How to use
- Add a
DataGridto your scene. - Set the
column_definitionsproperty via code or inspector. - Set the
dataproperty.
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.