Nui
|
#include <table.hpp>
Public Attributes | |
Nui::Observed< ContainerT< ElementT, OtherArgs... > > & | tableModel |
Contains the data to be displayed in the table. More... | |
std::variant< std::monostate, std::string, Nui::Observed< std::string > const * > | caption = std::monostate{} |
The caption of the table. Can be static, observed or off. More... | |
std::function< Nui::ElementRenderer()> | headerRenderer = {} |
The renderer for the header. Can be empty. More... | |
std::function< Nui::ElementRenderer(long long i, ElementT const &)> | rowRenderer = {} |
The renderer for each row. More... | |
std::function< Nui::ElementRenderer()> | footerRenderer = {} |
The renderer for the footer. Can be empty. More... | |
std::vector< Attribute > | tableAttributes = {} |
Attributes to be forwarded to the table element. More... | |
std::vector< Attribute > | captionAttributes = {} |
Attributes to be forwarded to the caption element. More... | |
std::vector< Attribute > | headerAttributes = {} |
Attributes to be forwarded to the header element. More... | |
std::vector< Attribute > | bodyAttributes = {} |
Attributes to be forwarded to the body element. More... | |
std::vector< Attribute > | footerAttributes = {} |
Attributes to be forwarded to the footer element. More... | |
std::vector<Attribute> Nui::Components::TableArguments< ContainerT, ElementT, OtherArgs >::bodyAttributes = {} |
Attributes to be forwarded to the body element.
std::variant<std::monostate, std::string, Nui::Observed<std::string> const*> Nui::Components::TableArguments< ContainerT, ElementT, OtherArgs >::caption = std::monostate{} |
The caption of the table. Can be static, observed or off.
std::vector<Attribute> Nui::Components::TableArguments< ContainerT, ElementT, OtherArgs >::captionAttributes = {} |
Attributes to be forwarded to the caption element.
std::vector<Attribute> Nui::Components::TableArguments< ContainerT, ElementT, OtherArgs >::footerAttributes = {} |
Attributes to be forwarded to the footer element.
std::function<Nui::ElementRenderer()> Nui::Components::TableArguments< ContainerT, ElementT, OtherArgs >::footerRenderer = {} |
The renderer for the footer. Can be empty.
std::vector<Attribute> Nui::Components::TableArguments< ContainerT, ElementT, OtherArgs >::headerAttributes = {} |
Attributes to be forwarded to the header element.
std::function<Nui::ElementRenderer()> Nui::Components::TableArguments< ContainerT, ElementT, OtherArgs >::headerRenderer = {} |
The renderer for the header. Can be empty.
std::function<Nui::ElementRenderer(long long i, ElementT const&)> Nui::Components::TableArguments< ContainerT, ElementT, OtherArgs >::rowRenderer = {} |
The renderer for each row.
std::vector<Attribute> Nui::Components::TableArguments< ContainerT, ElementT, OtherArgs >::tableAttributes = {} |
Attributes to be forwarded to the table element.
Nui::Observed<ContainerT<ElementT, OtherArgs...> >& Nui::Components::TableArguments< ContainerT, ElementT, OtherArgs >::tableModel |
Contains the data to be displayed in the table.