Results 1 to 3 of 3

Thread: Radio box don't appear

  1. #1

    Question Radio box don't appear

    Hello,

    I have a strange problem to my radio box. I've a window with 3 Tab. In 1 of them I've 3 radio box and a grid. No problem with my grid I've data BUT my radio box don't appear if my " activeTab: 0 " on my TabPanel.

    If " activeTab: 2 ", directly on this tab it's OK

    Do you Have an idea ?

    Thank you.

    This is my window, the problem is on "OngletJournal" :

    [CODE]

    MyDesktop.Transfert = Ext.extend(Ext.app.Module, {
    id:'transfert-win',

    init : function(){
    this.launcher = {
    text: 'transfert',
    iconCls:'icon-transfert',
    handler : this.createWindow,
    scope: this
    }
    },
    createWindow : function(){
    var desktop = this.app.getDesktop();
    var win = desktop.getWindow('transfert-win');

    var OngletExport = new Ext.FormPanel({
    title:'Export',
    id:'idExport',
    autoHeight:true,
    autoScroll :true,
    items: [ new Ext.form.Label({
    id:'IdLabelExport',
    text:'Exportation du catalogue produit'
    }),
    new Ext.form.TextField({
    id:'IdCheminDossExport',
    anchor:'75%',
    fieldLabel:'Dossier d\'export ',
    value:'/java/exportbase',
    readOnly:true
    })], buttonAlign: 'center',
    buttons:[{
    text: 'Exporter',
    // id: 'IdButtonExportCat',
    handler: function(){
    Ext.Msg.show({
    title:'Exportation du catalogue produit',
    msg: 'Confirmez-vous l\'export du catalogue ?',
    buttons: Ext.Msg.YESNO,
    buttonText: Ext.MessageBox.buttonText.yes = 'Oui',
    buttonText: Ext.MessageBox.buttonText.no = 'Non',
    icon: Ext.MessageBox.QUESTION,
    fn: showResultExportCat //this checks the response from us
    });
    }
    }]
    });

    var OngletImport = new Ext.FormPanel({
    title:"Import",
    id:"IdPanelImport",
    autoHeight:true,
    autoScroll :true,
    items:[
    new Ext.form.Label({
    // id:'IdLabelImport',
    id:'p1text',
    text:'Importation des donn

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,256

    Default

    Try adding layoutOnTabChange: true to your tab panel definition.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3

    Thumbs up

    Cool ! Thank's a lot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •