DxTreeList.SkeletonRowsEnabled Property
Specifies whether the TreeList displays skeleton rows while it loads data.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(null)]
[Parameter]
public bool? SkeletonRowsEnabled { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Nullable<Boolean> | null |
|
Remarks
The DevExpress Blazor TreeList component renders skeleton rows when it retrieves rows from a remote data source:
When the component retrieves data from an in-memory data source, skeleton rows are disabled since response times should be shorter:
Use the SkeletonRowsEnabled
property to alter skeleton behavior: enable skeleton rows for local data sources (true
) or disable them for remote sources if your server response time is low (false
).
The following code snippet disables skeletons:
<DxTreeList Data="TreeListData" KeyFieldName="Id" ParentKeyFieldName="ParentId" SkeletonRowsEnabled="false">
@* ... *@
</DxTreeList>