Threaded View

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
    dtheiss is on a distinguished road

      0  

    Default Answered: BoxReorderer: Using forms in Subpanels

    Answered: BoxReorderer: Using forms in Subpanels


    Hi,
    I try to reorder forms in subpanels with BoxReorderer.
    All is good (means: DandD function), but it is not possible, to change the values in the textfields.
    How can I fix it? Please help me out!!
    Thanx in advance.

    Code:
    Ext.Loader.setPath('Ext.ux', 'ux');
    
    
    Ext.onReady(function(){
       p = Ext.create('Ext.panel.Panel', {
          width: 300,
          bodyPadding: 5, 
          default: {
             width: 300,
             bodyPadding: 5
          },
          items: [{
             bodyPadding: 5,
             default: {
                width: 300,
                bodyPadding: 5
             },
             layout: 'vbox', 
             items: [{
                xtype: 'panel',
                title: 'a',
                items: [{
                   xtype: 'textfield',
                   fieldLabel: 'text1',
                   emptyText: 'Value3'
                }, {
                   xtype: 'textfield',
                   fieldLabel: 'text2',
                   emptyText: 'Value4'
                }]
             }, {
                xtype: 'panel',
                title: 'b',
                items: [{
                   xtype: 'textfield',
                   fieldLabel: 'text1',
                   emptyText: 'Value1'
                }, {
                   xtype: 'textfield',
                   fieldLabel: 'text2',
                   emptyText: 'Value2'
                   
                }]
             }],
             plugins: Ext.create('Ext.ux.BoxReorderer', {
             }),         
             title: 'Felder',
             xtype: 'panel'
          }],
          title: 'BoxReorderer',
          renderTo: Ext.getBody()
       });
    });

  2. It sounds like the DD is capturing the mousedown event. If you remove the BoxReorderer plugin and make a field draggable, you won't be able to focus on it either.

Thread Participants: 1

Tags for this Thread

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