1. #1
    Sencha User
    Join Date
    Nov 2009
    Posts
    71
    Vote Rating
    0
    valery.stroeder is on a distinguished road

      0  

    Cool ComboBox<BeanModel> + auto-complete

    ComboBox<BeanModel> + auto-complete


    Hello,

    Previously I tried the ComboBox<String> widget and I saw that auto-completion works fine.
    Now I have a ComboBox<BeanModel> who only display the "name" property of my bean.

    Code:
    combo = new ComboBox<BeanModel>();
    combo.setStore(store);
    combo.setForceSelection(true);
    combo.setDisplayField("name");
    combo.setLazyRender(false);
    Unfortunately the auto-completion doesn't work.

    I also tried
    Code:
    combo.setFieldLabel("name");
    but nothing to do..
    Does anyone have an idea ?

  2. #2
    Sencha User
    Join Date
    Nov 2009
    Posts
    71
    Vote Rating
    0
    valery.stroeder is on a distinguished road

      0  

    Default


    Nobody ?

  3. #3
    Ext User
    Join Date
    Mar 2010
    Posts
    14
    Vote Rating
    0
    Maxiflo is on a distinguished road

      0  

    Default


    Hi,

    Have you tried to override your bean "toString()" method?

  4. #4
    Sencha User
    Join Date
    Nov 2009
    Posts
    71
    Vote Rating
    0
    valery.stroeder is on a distinguished road

      0  

    Default


    Good idea and thanks for your help but it doesn't solve the problem

  5. #5
    Ext User
    Join Date
    Mar 2010
    Posts
    14
    Vote Rating
    0
    Maxiflo is on a distinguished road

      0  

    Default


    Sorry for asking, but have you a "name" property in your bean with its getter and setter?

  6. #6
    Sencha User
    Join Date
    Nov 2009
    Posts
    71
    Vote Rating
    0
    valery.stroeder is on a distinguished road

      0  

    Default


    of course

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..."