One of the fields in my application requires time input (DateTime). I have tried different cell types: MaskEdit, MonthCalendar, and simple textbox but cannot succeed with solution that I want. With MonthCalendar I use
gGCProposals.TableDescriptor.Columns["ProposalDueTime"].Appearance.AnyRecordFieldCell.CellType = GridCellTypeName.MonthCalendar;
gGCProposals.TableDescriptor.Columns["ProposalDueTime"].Appearance.AnyRecordFieldCell.Format = "HH:mm";
however, there is no way to stop the dropdown calendar.
With MaskEdit:
gGCProposals.TableDescriptor.Columns["ProposalDueTime"].Appearance.AnyRecordFieldCell.CellType = GridCellTypeName.MaskEdit;
gGCProposals.TableDescriptor.Columns["ProposalDueTime"].Appearance.AnyRecordFieldCell.MaskEdit = GridMaskEditInfo.Default;
gGCProposals.TableDescriptor.Columns["ProposalDueTime"].Appearance.AnyRecordFieldCell.MaskEdit.Mask = "hh:mm ??";
however, I cannot save into DateTime type.
Does anyone know how to implement for example sfDateTimeEdit with it's DateTime pattern of short time or somthing similar?