Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DateTimeItem

    I'm testing DateTimeItem enhancement in SC 9 with the evaluation license (build SmartClient_v90d_2013-06-17).

    A couple of very small issues to note:

    1. There is no running sample of the feature as was stated on the SOW.
    2. There is no way to hide the seconds dropdown when the displayFormat does not include seconds. As stated in the SOW, "Allow visibility of the editors for the above data to be controlled using a display format " - so my understanding was that if the display format only had dd/MM/yyyy HH:mm that it would hide the seconds.

    #2
    1) The feature is automatically switched on, so a code-sample seemed unnecessary - but an example is below

    2) There is no plan to attempt to detect the presence of seconds in a custom format - but there is an attribute, TimeItem.showSecondItem, which you can influence via the autoChild pattern, using a field definition like this:

    Code:
    {
        name: "someDateTime", 
        type: "datetime", 
        useTextField: false,
        pickerTimeItemProperties: { 
            showSecondItem: false 
        }
    }

    Comment


      #3
      The documentation for this feature pointed to an example so naturally I thought the sample would lead me to the datetime feature but it only led me to a simple date sample.

      Originally posted by Isomorphic View Post
      1) The feature is automatically switched on, so a code-sample seemed unnecessary - but an example is below

      Comment


        #4
        Good point - we'll make sure that link gets removed

        Comment

        Working...
        X