Data and collections
Native Qt
Horizontal Header
Horizontal Header is a native Zui component in the data and collections catalog, with 17 component-specific properties.
Usage
Ruby example
Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.
horizontal_header ["Name", "Status", "Updated"], section_width: 180, clickable: true
API
Component properties
17 component-specific values, plus shared item and layout properties.
sectionsSections configuration for Horizontal Header.propertycurrent_indexCurrent index configuration for Horizontal Header.propertysection_widthSection width configuration for Horizontal Header.propertyheightHeight configuration for Horizontal Header.propertyspacingSpacing configuration for Horizontal Header.propertymovableMovable configuration for Horizontal Header.propertyclickableClickable configuration for Horizontal Header.propertysort_indexSort index configuration for Horizontal Header.propertysort_orderSort order configuration for Horizontal Header.propertybackgroundBackground configuration for Horizontal Header.propertyselected_backgroundSelected background configuration for Horizontal Header.propertyforegroundForeground configuration for Horizontal Header.propertyselected_foregroundSelected foreground configuration for Horizontal Header.propertyborder_colorBorder color configuration for Horizontal Header.propertyfont_familyFont family configuration for Horizontal Header.propertyfont_sizeFont size configuration for Horizontal Header.propertyvisibleVisible configuration for Horizontal Header.propertyShow 15 shared item properties
enabledopacityscalerotationzwidthfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
clickNative event payload↗
moveNative event payload↗
sortNative event payload