Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Apr 2013
    Location
    Oregon
    Posts
    2
    Vote Rating
    0
    jmorris is on a distinguished road

      0  

    Default GXT 3.0.X DatePicker not propertly displaying min / max range when month is changed

    GXT 3.0.X DatePicker not propertly displaying min / max range when month is changed


    When setting a min or max date on the DatePicker the date range is initially shown correctly with the disabled date cells. Changing months back and forth leaves everything disabled however.

    Code:
        public void onModuleLoad ()
        {
            Date today = new Date();
    
            Date min = new Date();
            min.setDate(today.getDate() - 1);
    
            Date max = new Date();
            max.setDate(today.getDate() + 1);
    
            DatePicker dp = new DatePicker();
            dp.setMinDate(min);
            dp.setMaxDate(max);
            dp.setValue(today);
    
    
            RootPanel.get().add(dp);
        }

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Posts
    1,934
    Vote Rating
    55
    Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough

      0  

    Default


    3.0.x is slightly vague - that leaves 6 possible options for versions, or are you saying it is broken in all 3.0.0-3.0.4?

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Location
    Oregon
    Posts
    2
    Vote Rating
    0
    jmorris is on a distinguished road

      0  

    Default


    Version 3.0.1 had the issue but it seems to have been fixed with version 3.0.4.

Tags for this Thread