morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::forms::CollectionColumn Struct Reference

One v-columns entry. More...

#include <collection.hpp>

Public Attributes

std::string field
 The row member the column reads.
std::string label
 The header: label, else field.
table::ColumnKind kind = table::ColumnKind::Text
 The column's table kind (kind, by table::ColumnKind's JSON names); Text when absent.
bool hidden = false
 v-hidden: carried in the rows and the table source, not shown.
std::optional< std::uint32_t > decimalPlaces
 x-decimalPlaces: the places an exact value without its own dp is shown with.
std::string unit
 The unit appended to an exact value (ExtUnits.unitUnicode, else unitAscii).

Detailed Description

One v-columns entry.

Definition at line 53 of file collection.hpp.

Member Data Documentation

◆ field

std::string morph::forms::CollectionColumn::field

The row member the column reads.

Definition at line 55 of file collection.hpp.

◆ label

std::string morph::forms::CollectionColumn::label

The header: label, else field.

Definition at line 57 of file collection.hpp.

◆ kind

table::ColumnKind morph::forms::CollectionColumn::kind = table::ColumnKind::Text

The column's table kind (kind, by table::ColumnKind's JSON names); Text when absent.

Definition at line 59 of file collection.hpp.

◆ hidden

bool morph::forms::CollectionColumn::hidden = false

v-hidden: carried in the rows and the table source, not shown.

Definition at line 61 of file collection.hpp.

◆ decimalPlaces

std::optional<std::uint32_t> morph::forms::CollectionColumn::decimalPlaces

x-decimalPlaces: the places an exact value without its own dp is shown with.

Definition at line 63 of file collection.hpp.

◆ unit

std::string morph::forms::CollectionColumn::unit

The unit appended to an exact value (ExtUnits.unitUnicode, else unitAscii).

Definition at line 65 of file collection.hpp.


The documentation for this struct was generated from the following file: