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
150
DateTime
posted

One of my fields in the table, used as a data source, is of type DateTime. By default the field displays just a date, no time. What should I do to split this field into two seperate fields; data and time? Should I use the UnboundFields to do so? If so do you have any examples of how to use the Unbound Fields? The documentation is spaty at best. How do I initialize the value of the UnboundFields?

Parents
No Data
Reply
  • 3627
    posted

    I don't know what "spaty" means, but I assume it's not good. Stick out tongue

    I actually had an issue today, trying to include the same column twice in a field layout. I was just testing, but it showed the ig binding mechanism is not happy to see the same field listed twice, which means you couldn't create a couple of converters to format the field in different ways.

    I haven't tried dealing with times yet, so this is pure guess work...

    could you live with a combined field? If so, I posted a response today wherein I converted a boolean to a string, which allowed a converter to display "yes" or "no" instead of a checkbox. The same could probably work for this; specify the editor as a string type and then convert the datetime to a string.

    There's probably an easier way, but I think tihs would work.

     

Children
No Data