Results 1 to 3 of 3

Thread: Single select ListField

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    3
    Vote Rating
    0
      0  

    Question Single select ListField

    I'm pretty new to GXT, so this might be a dumb question...

    Is there a way to (out of the box) have a ListField that only allows a single item to be selected? I could do it with selection listeners and whatnot, but it seems like this would be a common-enough case that there'd be an easier way to do it...

  2. #2
    Sencha Premium User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    888
    Vote Rating
    1
      0  

    Default

    Hi. Set your own ListViewSelectionModel to the ListView, configured with SelectionMode.SINGLE.

    Regards,
    Michel.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Argh, I was so close (was looking for a Single Select SelectionModel). Thanks.

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. How do I get a proper single select grid?
    By isamudaison in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 10 Mar 2008, 10:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •