Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
920
DateTime editor column style wont edit in military time
posted

In my win Grid I have this code

case ColumnFormatItem.CellDisplayType.DateTime :

                                 column.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DateTimeWithSpin;

                                 column.Format = "MM/dd/yyyy HH:mm";

                                 break;

this is how it is displayed

but this is what it looks like during editing.

I want to be able to edit in military time.  Users aren't going to want to click on am/pm to change that...

Is there a way?  If not, how do I put in an enhancement request.

Parents
No Data
Reply
  • 920
    Verified Answer
    posted

    Found it

    Column.MaskInput = "mm/dd/yyyy hh:mm";

    but why doesn't infragistics follow Microsoft's standard string format syntax? (it didn't understand MM or HH)

Children
No Data