TreeListColumnEditorPropertiesFactory.DateEdit(Action<MVCxColumnDateEditProperties>) Method

Allows you to configure a date edit column.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.1.dll

Declaration

public void DateEdit(
    Action<MVCxColumnDateEditProperties> method
)
Public Sub DateEdit(
    method As Action(Of MVCxColumnDateEditProperties)
)

Parameters

Name Type Description
method Action<MVCxColumnDateEditProperties>

A delegate method that accepts an MVCxColumnDateEditProperties object as a parameter.

Remarks


settings.Columns.Add(column => {
     column.FieldName = "LastUpdated";
     column.Caption = "Last Updated";
     column.EditorProperties().DateEdit(p => {
          p.DisplayFormatString = "HH:mm:ss";
     });
});
See Also