1. #1
    Sencha Premium Member Neilcoder's Avatar
    Join Date
    Apr 2011
    Location
    Ireland
    Posts
    262
    Vote Rating
    0
    Neilcoder is on a distinguished road

      0  

    Default textFieldInstance.setFieldLabel();

    textFieldInstance.setFieldLabel();


    has textFieldInstance.setFieldLabel() been depreciated in Ext 3 beta 4?

    If so is there an off the shelf mechanism in the api for easily formatting forms, like in a jgoodies style where I just need to feed in the form component itself and the label name?

    updated;

    I just found this; http://code.google.com/p/gxt-jglayout/

    but I'm wondering if there was some other way of doing an operation like setFieldLabel, or build forms quickly in GXT?
    Last edited by Neilcoder; 15 Mar 2012 at 6:02 AM. Reason: posted too early

  2. #2
    Sencha Premium Member Neilcoder's Avatar
    Join Date
    Apr 2011
    Location
    Ireland
    Posts
    262
    Vote Rating
    0
    Neilcoder is on a distinguished road

      0  

    Default


    ah it's ok, I found where the examples for the beta are;

    Code:
    TextField company = new TextField();
        company.setWidth(cw);
        con.add(new FieldLabel(company, "Company"), new HtmlData(".company"));