What is lightning treeGrid?

What is lightning treeGrid?

A lightning:treeGrid component displays hierarchical data in a table. Its appearance resembles lightning:datatable , with the exception that each row can be expanded to reveal a nested group of items. This visual representation is useful for displaying structured data such as account hierarchy or forecasting data.

What is accordion in Salesforce?

In simple language An accordion allows a user to toggle the display of a section of content. Salesforce Lightning Accordion: lightning accordion component groups related content in a single container. Only one accordion section is expanded at a time. When you select a section, it’s expanded or collapsed.

What is tree grid?

The tree grid component merges qualities of the data grid component and the tree component. Essentially, the tree grid is a data grid that has a tree as one of its columns. Every tree node has a grid row, but grid rows are visible only for visible tree nodes.

What is Flexipage in Salesforce lightning?

Represents the metadata associated with a Lightning page. This type extends the Metadata metadata type and inherits its fullName field. These pages are known as FlexiPages in the API, but are referred to as Lightning pages in the rest of the Salesforce documentation and UI.

What is Aura iteration in Salesforce lightning?

aura:iteration iterates over a collection of items and renders the body of the tag for each item. Data changes in the collection are rerendered automatically on the page. It also supports iterations containing components that are created exclusively on the client-side or components that have server-side dependencies.

How does a lightning treegrid work in Salesforce?

A lightning:treeGrid component displays hierarchical data in a table. Its appearance resembles lightning:datatable, with the exception that each row can be expanded to reveal a nested group of items. Rows that contain nested data display a chevron icon to denote that they can be expanded or collapsed.

What do actions mean in Lightning Tree grid?

Header-level actions refer to tasks you can perform on a column of data, while row-level actions refer to tasks you can perform on a row of data, such as updating or deleting the row. Creating actions in lightning-tree-grid is similar to creating actions in lightning-datatable.

How are columns formatted in Lightning Tree grid?

Each column’s formatting is determined by its data type. For example, a phone number is displayed as a hyperlink with the tel: URL scheme by specifying the phone type. The default type is text. This component implements the tree grid blueprint in the Lightning Design System.

How to hide checkbox in Lightning Tree grid?

A checkbox is displayed by default in the first column. The hide-checkbox-column attribute removes the checkbox. Initialize your tree grid data using the data, columns, and key-field attributes and define their values in JavaScript. Note that key-field is required.