Skip to main content

DxDataGridComboBoxColumn<T>.ListRenderMode Property

Specifies how a combobox column editor loads items.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

Declaration

[DefaultValue(ListRenderMode.Entire)]
[Parameter]
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

Important

The Data Grid was moved to maintenance support mode. No new features/capabilities will be added to this component. We recommend that you migrate to the Grid component.

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