Drupal Radix Theme
  • Introduction
    • Overview & Support
  • Installation
    • Requirements
    • Getting Started
    • Setup with ddev
  • Understanding Radix
    • Individual files and directories
    • Bootstrap Build
    • Bootswatch
  • Working with the components
    • Components: Intro
    • Components: A deep dive
    • An example component
    • The drupal-radix-cli
    • Copy and modify a component
  • Components
    • Accordion
    • Alerts
    • Badge
    • Block
    • Buttons
    • Button Group
    • Breadcrumb
    • Card
    • Carousel
    • Close button
    • Comment
    • Collapse
    • Details
    • Dropdown menu
    • Field
    • Field Comment
    • Fieldset
    • Figure
    • Form
    • Form: Element
    • Form Element Label
    • Form Element: Radio Checkbox
    • Heading
    • HTML
    • Image
    • Input
    • List group
    • Local Tasks
    • Media
    • Modal
    • Nav
    • Nav Item
    • Navbar
    • Navbar Brand
    • Node
    • Offcanvas
    • Page
    • Page: Content
    • Page: Footer
    • Page: Navigation
    • Page: Title
    • Pagination
    • Progress
    • Radios
    • Region
    • Select
    • Spinners
    • Table
    • Taxonomy
    • Textarea
    • Toasts
    • Tooltips
    • User
    • Views: view
    • Views: view--grid
    • Views: view--table
    • Views: view--unformatted
  • Misc
    • Migration and upgrading
    • Roadmap
    • Credits & Contributions
Powered by GitBook
On this page
  • Key Features
  • Customization Options
  • Usage

Was this helpful?

  1. Components

Views: view--table

Component implementation for displaying a view as a table.

Key Features

  • Enhanced HTML Attributes: Allows for the addition of HTML attributes to the table for improved styling and accessibility.

  • Dynamic Header and Row Rendering: Capable of efficiently rendering table headers and rows with customizable HTML attributes.

  • Responsive and Sticky Table Options: Includes features for responsive tables and sticky headers, enhancing user interaction and readability.

  • Accessibility Considerations: Provides options for captions, accessibility descriptions, and summaries to improve the understanding of table content.

Customization Options

  • Flexible Styling with Utility Classes: Utilize a range of utility classes to modify the table's appearance and functionality to fit specific requirements.

  • Adaptable Content Layout: Suitable for displaying various types of data, making it versatile for different use cases.

Usage

{% include 'radix:views-view--table' with {
  title: 'Table Title',
  header: table_header_elements,
  rows: table_row_elements,
  responsive: true,
  sticky: true,
  views_view__table_utility_classes: ['additional-utility-classes']
} %}
PreviousViews: view--gridNextViews: view--unformatted

Last updated 1 year ago

Was this helpful?