optgroup Questions

13

Solved

I have created a customer c# DropDownList control that can render out it's contents are optgroups (Not from scratch, I edited some code found on the internet, although I do understand exactly what ...
Infinite asked 24/6, 2009 at 11:16

4

Solved

I'm using select2 with Bootstrap 3. Now I would like to know whether it is possible to display all optgroup items if the search matches the optgroup name while still being able to search for items ...
Assurgent asked 24/2, 2014 at 16:2

1

The select code below is possible without using Bootstrap-Select plugin, but not when using it: <div class="container"> <select> <optgroup label="Group 1"> <optgroup label=...
Detour asked 12/10, 2013 at 18:42

5

Solved

I am using Django everyday now for three month and it is really great. Fast web application development. I have still one thing that I cannot do exactly how I want to. It is the SelectField and Se...
Pimpernel asked 10/12, 2009 at 2:54

4

Solved

I need to get rid of labels in optgroups. From this: https://i.sstatic.net/Gn5e5.png Into this: https://i.sstatic.net/ZvRM7.png But I need to do this with opgroups. I don`t want to delete them...
Matt asked 23/7, 2014 at 17:49

2

I have a dropdown setup for searching. The idea is you click one option, Then the OPTGROUP appears. What I'd like to do is once the label is selected it jumps to that section of the OPTGROUP. I ha...
Enjoy asked 7/6, 2012 at 11:9

7

Solved

Is there any way to make the option group selectable? <select> <optgroup value="0" label="Parent Tag"> <option value="1">Child Tag</option> <option value="2"&g...
Badger asked 27/3, 2012 at 15:6

3

Solved

I wonder if anyone can shed some light on this problem.. I've got an option group drop-down for selecting a person's ethnicity – however it’s not storing the value in the model. ViewModel [UIHi...
Tyrr asked 10/11, 2010 at 9:33

4

Solved

Just trying to indent optgroup blocks by nesting depth really, I've tried a general margin-left rule, nested elements then trying to apply the same rule, tried padding-left... is indenting like thi...
Impolite asked 13/3, 2011 at 10:28

2

Solved

We do business in the US and Canada, so on a registration form I have a select that has optgroups to separate the US states from the Canadian provinces. I use the two character codes and store them...
Toffic asked 15/11, 2012 at 16:49

3

Solved

I have a select with 2 optgroups. Is there a way to call an function only if an option from the first optgroup is selected and call another function if an option from the second optgroup is selecte...
Horsehide asked 29/3, 2011 at 15:29

4

Solved

I am a little bit lost. I am getting this JSON: [{ "id": "210", "name": "Name 1", "category": "Category 1" }, { "id": "187", "name": "Name 2", "category": "Category 1" }, { "id": "186", "n...
Asset asked 20/12, 2011 at 16:40

4

Solved

I want my JComboBox to group multiple options together, similar to the HTML optgroup: <select> <optgroup label="A"> <option/> <option/> </optgroup> </select...
Observance asked 8/3, 2011 at 10:59

2

Solved

There seems to be just a little documentation on the grouped_select feature in simple_form 2.0 at http://simple-form.plataformatec.com.br/#usage/collections. The documentation offers the line: f.i...
Barozzi asked 9/4, 2012 at 22:12

4

Solved

How can i make my DropDownListFor support optgroup? Is there anyway to do it? Notice that this is DropDownListFor, means that it support DataAnnotation client validation
Ferruginous asked 14/7, 2011 at 5:1

2

Solved

I'm using angularjs, and I've been trying to create an optgroup for the past 2 days while working on some other stuff, and I'm stumped. I had to create an ng-options, but didn't consider an optgrou...
Skipper asked 17/7, 2014 at 19:0

1

Solved

I have small problem. I need select option from <select> A, which triggered action and select his first <option> in <select> B by value from selected <option> from A. Everyt...
Legalism asked 14/4, 2014 at 9:53

1

Solved

I am having some difficulty populating a select box in Rails with option groups using grouped_options_for_select. I currently have 3 instance variables that I would like to add to one entire group...
Bismuthinite asked 3/2, 2014 at 8:15

2

Solved

In Symfony2, the select html component is rendered as a ChoiceType object, which is used indeed also for checkboxes and radiobuttons. Does someone really know how to render a select with the optgr...
Singlet asked 3/9, 2012 at 8:28

3

Solved

Now with Formtastic I have plain select: = f.input :category, :as => :select, :include_blank => false, :collection => subcategories Here I show only children categories. I use acts_as_t...
Shwalb asked 28/1, 2010 at 11:42

3

I'm looking to render a <select> tag in my page using wicket, but group the options with <optgroup>, this was discussed on Separator in a Wicket DropDownChoice, but in the solutions the...
Francoise asked 15/12, 2011 at 14:4

1

Solved

Is there a way to hide option or optgroup HTML elements? I've tried calling hide() in jQuery, and also using regular Javascript to set style.display='none'. It works in Firefox but not in any othe...
Diamante asked 28/4, 2010 at 17:15

3

Solved

I am using a multiselect with options grouped together. <select title="Fruits" multiple="multiple" id="fruits" name="fruits[]"> <option selected="selected" label="All" value="">All&lt...
Pygmy asked 8/12, 2010 at 12:5

1

Solved

The code I am using for the dropdown list is this: <%= f.select :post_type_id, option_groups_from_collection_for_select(@categories, :post_types, :name, :id, :name) %> It neatly divides th...
Metagalaxy asked 5/1, 2012 at 12:54

7

Solved

I have dropdown very similar to this: <select id='someSelect'> <option value="0">---select one---</option> <optgroup label="Bikes"> <option value="B-4">Hayabusa&l...
Nork asked 17/8, 2011 at 16:51

© 2022 - 2024 — McMap. All rights reserved.