1. #1
    Ext User
    Join Date
    Jul 2010
    Posts
    1
    Vote Rating
    0
    br00ks is on a distinguished road

      0  

    Default DualListField has "extra" textArea. How to remove?

    DualListField has "extra" textArea. How to remove?


    Hey there! I'm trying to catch up with gwt and Ext Gwt. I need to add DualListField on my form. After I did that I found that there is one more component which I didn't add. I moved that staff to a separate panel to check if it will appear again - result was the same. I copied all example from com.extjs.gxt.samples.client.examples.dnd.DualListFieldExample (http://www.sencha.com/examples/explo...#duallistfield ) and have this screen:
    http://img6.imageshack.us/i/weirdvy.jpg/ - just example.
    http://img514.imageshack.us/i/networks.jpg/ - in my form after get inserted networks from db, same "extra" text area which always show null whatever you select. I tried to find where did it come from, but could. That's why I even registered on this forum because I want to find what is this . Thanks.

    If you still need a code for the DualListField part, as I said it is exactly like example:
    //...

    networkModelList I already get from rpc service. And as you can see on screen it displayed.

    networkLists.setFieldLabel("Available Networks");

    ListField<NetworkModel> from = networkLists.getFromList();
    from.setDisplayField("networkNm");
    ListStore<NetworkModel> store = new ListStore<NetworkModel>();
    store.setStoreSorter(new StoreSorter<NetworkModel>());
    store.add(networkModelList);
    from.setStore(store);
    ListField<NetworkModel> to = networkLists.getToList();
    to.setDisplayField("networkNm");
    store = new ListStore<NetworkModel>();
    store.setStoreSorter(new StoreSorter<NetworkModel>());
    to.setStore(store);

    simple.add(networkLists, new FormData("100%"));

    Thanks.

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Are you sure that you use the latest css and latest gxt version? This should not appear

Similar Threads

  1. How to remove extra white space in a container
    By JDevloper in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 31 Oct 2008, 12:42 AM
  2. Remove extra lines in ext-all.js
    By mark.lancaster in forum Sencha Cmd
    Replies: 0
    Last Post: 26 Aug 2007, 11:22 PM
  3. [SOLVED]form textarea onclick or add an extra button
    By sj137 in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 3 Aug 2007, 4:09 AM

Thread Participants: 1

Tags for this Thread