[OPEN] [#147] SelectedIndex in ComboBox

  1. #1

    [OPEN] [#147] SelectedIndex in ComboBox

    Hi,
    SelectedIndex property for ComboBox is missing in 2.0. Any chances to get it back?
    Last edited by Daniil; Feb 11, 2013 at 11:50 AM. Reason: [OPEN] [#147]
  2. #2
    Hi,

    Please use Index property of ListItem in SelectedItems collection
  3. #3
    Is'nt that just extra markup for such a small thing? Its just an extra property you need to add to manage the selected index vs adding 3 lines of markup!
  4. #4
    v2 combo is multiselect now. Therefore one property is not enough to set several selected items by index
  5. #5
    We can have index seperated by comma eg: SelectedIndex="1,4,5,7" to multi select? Or have this property in case user want to select the default value. Why break the pattern that we are so used too ?
  6. #6
    Well, ListItem allows to select by text, value or index. In this case, we have to create three properties Selectedtext, SelectedValue and SelectedIndex
    We will review how to set init selection more convenience way
  7. #7
    Quote Originally Posted by Vladimir View Post
    Well, ListItem allows to select by text, value or index. In this case, we have to create three properties Selectedtext, SelectedValue and SelectedIndex
    We will review how to set init selection more convenience way
    Created an Issue for this.
    https://github.com/extnet/Ext.NET/issues/147
  8. #8
    Thanks Daniil!

Similar Threads

  1. [CLOSED] ComboBox SelectedIndex
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 30, 2012, 9:33 AM
  2. Replies: 11
    Last Post: Feb 06, 2012, 2:56 PM
  3. Combobox SelectedIndex problem
    By aelen in forum 1.x Help
    Replies: 0
    Last Post: Jun 04, 2011, 12:52 AM
  4. ComboBox and SelectedIndex
    By glenh in forum 1.x Help
    Replies: 3
    Last Post: Oct 18, 2010, 7:57 AM

Posting Permissions