ShowAsTree Property
Version: Available or changed with runtime version 1.0.
Sets the indentation of rows on a List Page to Tree View. If you enable this property, you can expand or collapse indented rows on a List Page.
Applies to
- Page Group
Property Value
true enables the tree view; otherwise, false. The default is false.
Remarks
To enable the tree view, you must also set the IndentationColumn property. This property specifies an integer data type field in the source table or variable. This field controls which records are indented and by how much.
Optionally, you can set the TreeInitialState property to specify whether the list displays as collapsed or expanded when the list page opens in the client.
Note
When you set this property to true, the IndentationControl property is ignored and the first column on the page is indented.
For more information about how to use this property, see Designing Indented Hierarchy Lists.
Example
repeater(Control1)
{
IndentationColumn = Indent;
ShowAsTree = true;
TreeInitialState = CollapseAll;
field("No."; "No.")
{
}
...
See Also
IndentationColumn Property
TreeInitialState Property
IndentationControl Property
Properties
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor