Back to Devexpress

DxGrid.EditorRenderMode Property

blazor-devexpress-dot-blazor-dot-dxgrid-62b887dd.md

latest3.1 KB
Original Source

DxGrid.EditorRenderMode Property

Specifies how the Grid renders editors in the filter row and in data rows during edit operations.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(GridEditorRenderMode.Integrated)]
[Parameter]
public GridEditorRenderMode EditorRenderMode { get; set; }

Property Value

TypeDefaultDescription
GridEditorRenderModeIntegrated

An enumeration value.

|

Available values:

NameDescriptionImage
Detached

The Grid renders standalone editors with borders and paddings between an editor and cell borders.

|

| | Integrated |

The Grid renders editors so that they occupy the entire cell. Editor borders are not displayed.

|

|

Remarks

The Grid component renders editors in filter row and edit cells so that editors occupy the entire grid cell.

Set the Grid’s EditorRenderMode property to Detached to render automatically generated editors as standalone editors with their borders and paddings. This property also affects DevExpress Blazor editors placed directly in the following templates:

The following code snippet changes the render mode of editors in the filter row and edit cells:

razor
<DxGrid Data="@forecasts" 
        ShowFilterRow="true" 
        EditorRenderMode="GridEditorRenderMode.Detached">
  <Columns>
    <DxGridDataColumn FieldName="Date" />
    <DxGridDataColumn FieldName="Temperature" />
    <DxGridDataColumn FieldName="Summary" />
  </Columns>
</DxGrid>

Run Demo: Edit RowRun Demo: Filter Row

Implements

EditorRenderMode

See Also

DxGrid Class

DxGrid Members

DevExpress.Blazor Namespace