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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar