Skip to content

Manage structured data #1215

@ffffffelix

Description

@ffffffelix

Context

The DataTable should manage structured data and display data as a tree

Questions

  • I am wondering if it will be better to directly manage the structured cell in the TableCell component and get rid of renderExpandableContent. In that way, all expandable attributes and classes will be in the root cell element.

Tasks

  • We currently use two ways to know if the table is structured or not: isExpandable and row?.getCanExpand?.(). Define a single method to determine whether the data is structured.
  • The action to handle opening and closing a node must be at the root cell level instead of a nested div
  • Add the right aria attribute for structured view (W3C recommendation). You can also take a look at our TreeView component

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions