GridColumnEditorPropertiesFactory.DateEdit(Action<MVCxColumnDateEditProperties>) Method
Allows you to configure a date edit column.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
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