1. #1
    Ext User
    Join Date
    Dec 2007
    Posts
    7
    Vote Rating
    0
    mess is on a distinguished road

      0  

    Default Opinion on interface

    Opinion on interface


    Hi,
    I have to make an interface like attached file.

    The problems, however, are:
    1)The values of the combos are different for each line
    2)The last button ("%Comparti") should open a dialog

    In your opinion is it better to use a EditorGrid or formPanel?

    In the case of a formPanel how to manage properly the many columns and the few label?
    Attached Images

  2. #2
    Ext User
    Join Date
    Oct 2008
    Location
    Warsaw(PL)/Cottbus(GER)
    Posts
    215
    Vote Rating
    0
    EagleEye666666 is on a distinguished road

      0  

    Default


    Quote Originally Posted by mess View Post
    Hi,
    I have to make an interface like attached file.

    The problems, however, are:
    1)The values of the combos are different for each line
    2)The last button ("%Comparti") should open a dialog

    In your opinion is it better to use a EditorGrid or formPanel?

    In the case of a formPanel how to manage properly the many columns and the few label?
    hej,

    first of all, that's the wrong Forum for such post. It should be in Help(maybe open discussion, but i think you are searching for suggestions and opinions, which are some kind of help for ya, SO HELP!!!

    To your question. I highly recommend a EditorGrid, but the screenshot u have added is quite small...,

    BUT:
    You know we have no idea about it's contents, how someone is able to give a good suggestion??

  3. #3
    Sencha User
    Join Date
    Nov 2008
    Posts
    56
    Vote Rating
    0
    gabriele.muscas is on a distinguished road

      0  

    Default


    I try to use editor grid and and form panel too.

    The problems with editor grid is the combo with different values for each line and the button in the last column. I think you can't insert a Button in a editorGrid.

    With the FormPanel i just found the MultiField Component.

    I think this solve my problem.

  4. #4
    Ext User
    Join Date
    Dec 2007
    Posts
    7
    Vote Rating
    0
    mess is on a distinguished road

      0  

    Default


    [COLOR=#000000][FONT=verdana]
    FormPanel form2 = new FormPanel();
    form2.setFrame(true);
    form2.setHeading(attivita);
    form2.setLayout(new FlowLayout());

    FieldSet scFieldSet = new FieldSet();
    scFieldSet.setHeading("Servizi Comuni");
    scFieldSet.setCollapsible(true);
    scFieldSet.setLayout(new RowLayout());

    FieldSet focFieldSet = new FieldSet();
    focFieldSet.setHeading("Funzioni Operative Comuni");
    focFieldSet.setCollapsible(true);
    focFieldSet.setLayout(new RowLayout());

    LabelField genericLabel;

    ContentPanel labelsPanel = new ContentPanel(new TableLayout(2));

    MultiField labelsMultiField = new MultiField();
    labelsMultiField.setSpacing(5);

    genericLabel = new LabelField("Descrizione");
    genericLabel.setBorders(true);
    genericLabel.setWidth(300);
    labelsMultiField.add(genericLabel);

    genericLabel = new LabelField("Valore");
    genericLabel.setBorders(true);
    genericLabel.setWidth(60);
    labelsMultiField.add(genericLabel);

    genericLabel = new LabelField("Tipo Driver");
    genericLabel.setBorders(true);
    genericLabel.setWidth(300);
    labelsMultiField.add(genericLabel);

    genericLabel = new LabelField("Unit