1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    62
    Vote Rating
    0
    sendy is on a distinguished road

      0  

    Default Unanswered: Slider Menu showing datepickerfield in menu and not in the mainContainer

    Unanswered: Slider Menu showing datepickerfield in menu and not in the mainContainer


    Hy,
    I am using this plugin https://github.com/wozznik/Slider-Menu .It works fine.
    But I tried to modify the view Option 2 by adding a datepickerfield or (Ext.Message.alert)
    This component is shown on the menu and not int the mainContainer.
    Please any help??
    This is the view:


    Ext.define('UnivMobile.view.AddEvent', {
    extend: 'Ext.Panel',
    requires: ['Ext.field.DatePicker'],

    xtype: 'option2card',



    config: {
    fullscreen: true,
    title: 'Add Event',
    xtype:'formpanel',
    id:'p',
    items: [ {
    xtype: 'fieldset',
    items: [
    {
    xtype: 'textfield',
    name: 'nomEvent',
    id:'nomevent',
    label: 'Nom Event:'
    },
    {

    xtype: 'datepickerfield',
    label: 'Birthday',
    name: 'birthday',
    id:'debEvent',
    value: new Date()
    },
    {
    xtype: 'textfield',
    name: 'dateFinEvent',
    id:'finEvent',
    label: 'Date de fin Event:'
    },
    {
    xtype: 'textfield',
    name: 'lieu',
    id:'loc',
    label: 'Lieu:',

    }
    ] // items
    }
    ]





    }
    });

    Any help please ??

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Answers
    3467
    Vote Rating
    834
    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


    First, you are extending Ext.Panel but looks like you want to extend Ext.form.Panel. Setting xtype : 'formpanel' in the config object like that will do absolutely nothing. Also I don't see any usage of the slider menu.
    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
    Sencha User
    Join Date
    Oct 2012
    Posts
    62
    Vote Rating
    0
    sendy is on a distinguished road

      0  

    Default


    Hy ,
    I have resolved the problem I should add this line to get it in the mainContainer:
    this.parent.parent.parent.parent.push(Element)
    I am using Slider-menu becouse I have a feature that list the Events(Sports,Party......).
    And this one englobes some others features that why I am using a menu.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi