View Full Version : ComboBox grouping

18 Jun 2014, 2:15 AM
Is there a way to have comboBox support groups as the <select> tag does with the <optgroup> tag does when combined with the <option> tags?


<optgroup label="Group 1">
<option>Option 1.1</option>
<optgroup label="Group 2">
<option>Option 2.1</option>
<option>Option 2.2</option>
<optgroup label="Group 3" disabled>
<option>Option 3.1</option>
<option>Option 3.2</option>
<option>Option 3.3</option>

18 Jun 2014, 2:16 PM
This might help: http://www.sencha.com/forum/showthread.php?132328-CLOSED-ComboBox-using-Grid-instead-of-BoundList

Here you can replace your combo box bound list with a grid that supports Grouping.

18 Jun 2014, 4:24 PM
Great point. Grid grouping would present the data as I wish. However, grid does place a lot of overhead on the dom, does it not?

18 Jun 2014, 7:42 PM
BTW, I found this to work perfectly for my needs: https://github.com/rixo/GridPicker