DxDataGridComboBoxColumn<T>.ListRenderMode Property

Specifies how a combobox column editor loads items.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue(ListRenderMode.Entire)]
public ListRenderMode ListRenderMode { get; set; }

Property Value

Type Default Description
ListRenderMode

Entire

A ListRenderMode enumeration value.

Available values:

Name Description
Entire

The editor loads the entire item list. Use this option for small item lists where scrolling should be instant.

Virtual

The editor loads visible items only. This approach improves performance when the list contains many items.

Remarks

Use the ListRenderMode property to specify how combobox column editor loads items.

  • Entire — The editor renders the entire list at once. Use this mode for short lists when rendering the whole list does not slow down performance.
  • Virtual — The editor renders list items when they appear in the viewport. Use this mode to optimize render speed for large lists.

The code below enables the Virtual render mode in the Data Grid’s combobox column editor:

<DxDataGrid DataAsync="@ForecastService.GetForecastAsync" 
            ShowFilterRow="true">

    <DxDataGridComboBoxColumn Field="@nameof(WeatherForecast.CloudCover)" 
                              Caption="Cloud Cover" 
                              ListRenderMode="ListRenderMode.Virtual" />
</DxDataGrid>
See Also