Hybrid View

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    16
    Vote Rating
    0
    bkrishsun is on a distinguished road

      0  

    Default Default date 1970 populating in data picker

    Default date 1970 populating in data picker


    Default date 1970 is displayed in date picker , how to avoid to display the default date.

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi,

    try following code :

    Code:
    var datePicker = Ext.create('Ext.picker.Date',{
        value:new Date()
    });
    
    
    Ext.Viewport.add(datePicker);
    datePicker.show();
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    16
    Vote Rating
    0
    bkrishsun is on a distinguished road

      0  

    Default


    Thanks for your reply,

    even though the same problem occur , the default date is displayed in the datepicker(1970).

  4. #4
    Sencha User
    Join Date
    Jul 2012
    Posts
    16
    Vote Rating
    0
    bkrishsun is on a distinguished road

      0  

    Default


    We are using Date Picker in dyanamic that is at the run we are able to add or delete Date picker when click on the Add button.

Thread Participants: 1