1. #1
    Sencha User
    Join Date
    Feb 2008
    Posts
    2
    Vote Rating
    0
    ashishjoshi is on a distinguished road

      0  

    Question Help..!! DatePicker extension in ExtJS 4.0

    Help..!! DatePicker extension in ExtJS 4.0


    I am new to ExtJs. I am writing my own widget for DatePicker. I am trying to achieve multi-months view with multiple date selection capable component.
    I don't know how to proceed. Whether to write a template (tpl) or to add html template code in onRender() like 3.x. Can anybody guide me regarding the basic things I need to take care of? and initial approach?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Have to studied the Date field's source? You will need to take care of quite a few different methods but to get started, look at the createPicker method. I would have a floating container with two date pickers within it.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Touch Premium Member msinn's Avatar
    Join Date
    Jul 2009
    Location
    in front of my pc
    Posts
    280
    Vote Rating
    5
    msinn is on a distinguished road

      0  
    First I would like to thank you for your time and knowledge

    Win 7 Ext JS 4.1.3 IE(6-9), FF17