Slicer supports loading/saving/editing of spreadsheets (.csv, .txt, .tsv files) for a while now, but there was no standard way of specifying data type, unit (mm, cm3, …), default value, or custom properties for the stored data.
We have recently introduced table column properties
, which:
- can be used for customizing how data is displayed (for example,
bit
type columns are shown as checkboxes) - what default values should be used for new rows
- long description, human-readable name can be specified, which are displayed in the tooltip in table views
- any number of custom properties can be defined (useful for developers, maybe will be also exposed for users in some way)
To get started, create a schema
file for your table (file that has the same name as your table file, with .schema
inserted before the extension) and load your table into Slicer to view it. See more details in the Table node API documentation.
Any questions and suggestions are welcome.