1. #1
    Ext User
    Join Date
    Sep 2010
    Posts
    2
    Vote Rating
    0
    MikeGXT is on a distinguished road

      0  

    Default [2.2.0] GXT ListField and Vertical Scrollbar

    [2.2.0] GXT ListField and Vertical Scrollbar


    Hello,

    why is at gxt 2.2.0 no vertical Scrollbar anymore if there are more data as displayed in the ListField?

    Code:
            ListStore<CarModel> store = new ListStore<CarModel>();
            store.add(new CarModel("SAAB", "9000", 1994));
            store.add(new CarModel("BMW", "318i", 1999));
            store.add(new CarModel("VW", "GOLF", 2001));
            store.add(new CarModel("Peugeot", "307", 2002));
            ListView<CarModel> lv = new ListView<CarModel>();
            lv.setStore(store);
            String tmp = "<b>{car_make}</b> {car_model} <i>({car_year})</i>";
            lv.setSimpleTemplate(tmp);
            lv.setBounds(10, 10, 160, 60);
            RootPanel.get().add(lv);
    
    
    -------------
    
    public class CarModel extends BaseModel implements Serializable {
      private static final long serialVersionUID = 1L;
    
      public CarModel(String mk, String ml, Integer y) {
        set("car_make", mk);
        set("car_model", ml);
        set("car_year", y);
      }
    
      public CarModel(String mk, String ml, Integer y, Double v) {
        this(mk, ml, y);
        set("car_value", v);
      }
      
      public String getMake() {
        return (String)get("car_make");
      }
      
      public Integer getYear() {
        return (Integer)get("car_year");
      }
    }
    Thank you

  2. #2
    Software Architect
    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


    I cannot preoduce this. It shows a scrollbar for me:

    Can you make sure that you include the gxt-all.css file?

  3. #3
    Ext User
    Join Date
    Sep 2010
    Posts
    2
    Vote Rating
    0
    MikeGXT is on a distinguished road

      0  

    Default


    ok, this was the mistake.

    I forgot to update the resource folder for the new version 2.2.0
    Now i use the css from 2.2.0 and it works.

    Thank you

Similar Threads

  1. [CLOSED] ListField Multi select bug - GXT 2.1.3
    By johnstok in forum Ext GWT: Bugs (2.x)
    Replies: 4
    Last Post: 2 Jun 2010, 6:56 AM
  2. Vertical scrollbar
    By nshah83 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 3 Mar 2008, 2:30 PM

Thread Participants: 1

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