Announcement

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

    Datepicker only 10 years?

    I can only select dates since 1.1.2008 in the datepicker here: https://www.smartclient.com/smartgwt...ntrols_various
    Even if I select the year 2008, then click the back arrow, the arrow stops working at January 2008.
    Is it possible to set the range to be larger ? and if yes, why is it only to set to be 10 years ? Are there any (performance) implications selecting a larger range ?

    Regards,
    edulid

    #2
    See the doc for DateItem.setStartDate()/setEndDate().
    Last edited by Isomorphic; 19 Jun 2018, 00:42.

    Comment


      #3
      ok, thanks, .. and are there any performance implications of setting a large range ?

      Comment


        #4
        Hi edulid,

        see setEndDate().

        Best regards
        Blama

        Comment


          #5
          There are no performance implications - however, giant lists are not always useful, and the start/end dates are passed through to the DateChooser, affecting the size of the popup Year menu in that widget.

          Comment

          Working...
          X