|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Everything about a table beyond its columns and rows. More...
#include <view.hpp>
Public Attributes | |
| bool | showHeader = true |
| Whether the header row is drawn. | |
| Virtualization | virtualize {} |
| The row count and margin above which a row's widget is realized only near the visible range. | |
| SelectionMode | selectionMode = SelectionMode::None |
| How many rows the user can select. | |
| Prop< std::vector< Key > > | selection |
| The selected rows' keys. | |
| std::function< void(std::vector< Key >)> | onSelectionChange |
| Called with the keys the user selected. | |
| std::function< void(Key)> | onActivate |
| Called with a row's key when the user activates it. | |
| Common | common {} |
| Visibility, enablement, layout, drag-and-drop of the table. | |
| bool morph::ui::TableOptions::showHeader = true |
| Virtualization morph::ui::TableOptions::virtualize {} |
| SelectionMode morph::ui::TableOptions::selectionMode = SelectionMode::None |
| std::function<void(std::vector<Key>)> morph::ui::TableOptions::onSelectionChange |
| std::function<void(Key)> morph::ui::TableOptions::onActivate |
| Common morph::ui::TableOptions::common {} |