Results 1 to 2 of 2

Thread: Create a linebreak within a column layout -

  1. #1

    Default

    Hi ,
    as i cannot explain myself very well , i made a screenshot with the problem.

    So i have some items in a column layout , with a button to add another row below it basically but it comes always at the right, and not under it and have broke my head over it.



    [CODE]for (var x = 0; x < fields.length;x )
    {
    if (fields[x] != "") {
    // NOW WE NEED TO ADD FOR EACH TYPE
    // THE MOBILE / FIXED
    // lets make a column layout and it need to
    // be able to set by volume
    var my_dynamic_fixed_id = 'delete_fixed_line' fields[x];
    var my_dynamic_mobile_id = 'delete_mobile_line' fields[x];
    Rate2ProviderSetupform.add(
    {
    anchor: '0',
    layout: 'column',
    border:false,

    items: [

    {layout: 'form',columnWidth:1.0,border: false,
    items:[{
    //anchor: '0',
    layout: 'column',
    border: false,
    id:'delete_fixed_line' fields[x],// this is the one we delte again
    defaults: {
    labelAlign:'top',

    layout: 'form',
    border: false

    },
    items: [{
    border: false,

    items:[ {
    xtype: 'textfield',
    name: 'enduserprice_fixed_' fields[x],
    id: 'enduserprice_fixed_' fields[x],
    fieldLabel: 'Fixed ' fields[x],
    allowBlank: false,
    value: e_fixed[x],
    width: 50,
    labelWidth:200
    }]},

    {
    items: [{
    xtype: 'combo',
    allowBlank: false,
    id: 'payout_fixed_tab_' fields[x] 'start_volume_rate',
    width: 50,
    store: new Ext.data.SimpleStore({
    fields: ['volume_parameter_id', 'volume_parameter'],
    data: [[0, '>'], [1, '='], [3, ''], [1, '='], [3, ''], [1, '='], [3, ''], [1, '='], [3, '
    Attached Images Attached Images

  2. #2

    Default

    OK , i made an mistake by not defining a default labelWidth and understanding the columns vageluely

    thanks
    Attached Images Attached Images

Posting Permissions

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