|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Declare-to-override entry for one derived column of a collection view. More...
#include <views.hpp>
Public Attributes | |
| std::string_view | field |
| Wire field name on the query action's row type. | |
| std::string_view | label {} |
| Column header. Empty means "use `field` as-is". | |
| bool | hidden {false} |
| Column present in the row model but not displayed. | |
Declare-to-override entry for one derived column of a collection view.
Supplying a static constexpr std::array<ColumnOverride, N> columns on a view descriptor reorders, relabels, hides, or subsets the columns viewSchemaJson would otherwise derive from the query's row type; a field naming a wire key the row type does not have is emitted as a bare column (schema generation never throws — see docs/spec/forms/forms.md).
| std::string_view morph::views::ColumnOverride::field |
| std::string_view morph::views::ColumnOverride::label {} |
| bool morph::views::ColumnOverride::hidden {false} |