Skip to main content
All docs
V26.1
  • IComboBoxSettings.DataLoadMode Property

    Specifies how the ComboBox loads its data.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v26.1.dll

    Declaration

    [DefaultValue(ListDataLoadMode.Auto)]
    [Parameter]
    ListDataLoadMode DataLoadMode { get; set; }

    Property Value

    Type Default Description
    ListDataLoadMode Auto

    A ListDataLoadMode enumeration value.

    Available values:

    Name Description
    Auto

    The component loads and caches data when the browser loads the web page. Use this mode to improve application responsiveness after initial page load.

    OnDemand

    The component loads its data whenever a user opens the drop-down window. The component does not cache its data. We recommend using this mode if the page contains multiple ComboBox components and they are bound to large data sources (data queries require resource-intensive operations). In this case, OnDemand mode optimizes page load time and resource usage. Since data is not fetched during component initialization, the page loads faster. By not caching data, the component avoids unnecessary memory consumption (in case the user never needs to open the dropdown).

    Remarks

    Use the DataLoadMode property to specify the data load mode at runtime. In markup, use the DxComboBoxSettings.DataLoadMode property.

    See Also