1. #1
    Sencha User ITS_luka's Avatar
    Join Date
    Aug 2011
    Location
    Tbilisi, Georgia
    Posts
    19
    Vote Rating
    0
    ITS_luka is on a distinguished road

      0  

    Question Unanswered: Can I make Auto-complete TextField in GXT?

    Unanswered: Can I make Auto-complete TextField in GXT?


    I want to make autocomplete textfield in gxt like this
    screenshot.jpg

    (facebook style is not unavoidable)
    I just want to make an auto-complete textfield.

    thnx

  2. #2
    Sencha User PhiLho's Avatar
    Join Date
    Nov 2011
    Location
    Near Paris, France
    Posts
    140
    Vote Rating
    1
    Answers
    2
    PhiLho is on a distinguished road

      0  

    Default


    Google is a wonderful utility...
    http://www.zackgrossbart.com/hackito/gwt-rest-auto/ (untested, but interesting component)
    That's a pure GWT component, but using it in GXT shouldn't be a problem.

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    15
    Vote Rating
    0
    koenjan is on a distinguished road

      0  

    Default


    What about a (Simple)ComboBox? this has an autocomplete feature... or do you want autocomplete for each new word in the field?

  4. #4
    Sencha User PhiLho's Avatar
    Join Date
    Nov 2011
    Location
    Near Paris, France
    Posts
    140
    Vote Rating
    1
    Answers
    2
    PhiLho is on a distinguished road

      0  

    Default


    That's the idea. A common usage is to suggest existing tags in a tag input text field, which you can see in this very forum (although it is done here with Ajax & PHP, I suppose).
    See also the demo in the page I link to.

Thread Participants: 2