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
2549
UltraGrid: DateTime in MaskInput does not work
posted

Good morning,

I have some problems while trying to display a datetime value in the grid.

I use a list of items (BindingList<items>)  that is bound to the grid.
No problem so far, everything works as expected.

The grid displays the datetime value as date, which seems to be the default behavior.
I read in one of the posts that the following formatting condition can be used to display date and time:

{date} {time}

So far, so good. When I apply this condition to the column the correct mask is shown in the designer:
__.__.____  __:__:__

Unfortunately when I start the application I get the date and time, but without any formatting at all:
30032010092344

Could anybody please be so kind and tell me how to accomplish to display the datetime as mentioned?

Any help is kindly appreciated

best regards

Andy