Skip to main content
All docs
V25.1
  • DxTreeList.SkeletonRowsEnabled Property

    Specifies whether the TreeList displays skeleton rows while it loads data.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(null)]
    [Parameter]
    public bool? SkeletonRowsEnabled { get; set; }

    Property Value

    Type Default Description
    Nullable<Boolean> null

    null to display skeleton rows for remote data sources;
    true to display skeleton rows for all data source types;
    false to disable skeleton rows.

    Remarks

    The DevExpress Blazor TreeList component renders skeleton rows when it retrieves rows from a remote data source:

    Render Skeleton Rows

    When the component retrieves data from an in-memory data source, skeleton rows are disabled since response times should be shorter:

    Disable Skeleton Animation

    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>
    
    See Also