multi-select

.NET 3.5 Listbox Selected Values (Winforms)

南楼画角 提交于 2019-12-29 07:16:13
问题 I am BATTLING to get the selected values (please note VALUES not TEXT) from a Winforms Listbox that has multi-select enabled and has been bound to a database table getting the Name (as DisplayMember) and ID (as ValueMember) - I need the ID of the selected items. The listbox control has properties for SelectedValue to get one of the selected items values, but not for all selected items values. The SelectedItems property returns a Listbox.SelectedObjectCollection from which I cannot seem to

JQGrid - Multiselect [closed]

依然范特西╮ 提交于 2019-12-29 04:28:07
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 9 years ago . Multiselect in JQGrid only allows either multiple selection or single selections and the shift functionality isn't what I'd expect the shift select to do. I also don't like that we need comboboxes with

Post additional data as list kendo multiselect read

不羁的心 提交于 2019-12-25 08:47:21
问题 I have a two kendo multiselect and i want my roles multiselect to sort of cascade from the other in a way that on the roles multiselect read i want to post a list of the values selected in my systems multiselect. This is what my roles multiselect looks like: @(Html.Kendo().MultiSelect() .Name("Roles") .DataTextField("Name") .DataValueField("Id") .Placeholder("Select roles") .DataSource(source => { source.Read(read => { read.Action("GetRoles", "UserAdmin").Data("additionalItemsGetRoles"); })

Conditional multi-select directive in angular

依然范特西╮ 提交于 2019-12-25 07:10:26
问题 I am creating a select box directive where, as part of it, I need to specify if the select is multiple or not. I have tried to set a multiple property in one of my scope objects a value of "multiple" assuming that it shall execute and set multiple="multiple" on my selectbox as follows: <select multiple="{{properties.multiple}}" /*...(other working properties)...*/ ></select> But this got me an error.. Error: [$compile:selmulti] http://errors.angularjs.org/1.4.4/$compile/selmulti?p0=%3Cselect

Populating a second dropdown using ColdFusion, jQuery, and Ajax

戏子无情 提交于 2019-12-25 05:46:14
问题 I have one dropdown that has 14 values. Depending on the value chosen, it'll query a SQL Server database and return some clients to display in a second dropdown. I want that 2nd dropdown to use the jQuery Multiselect Widget where each value has a checkbox to select. Here is what I last tried to do, and it just doesn't work. <form> <label for="lstTiers">Tier:</label> <select name="lstTiers" id="lstTiers"> <option value="1">Tier 1</option> <option value="2">Tier 2</option> <option value="3"

Submit Multiple Select Values to an Action in Laravel 4

自作多情 提交于 2019-12-25 05:25:47
问题 I've been trying to figure out how to submit multiple multi-select values using a redirect or something similar to an index() method/action in my resource controller in Laravel 4. I've made several attempts to achieve this but have yet to work out how to do it. I initially had it submitting to a query string, which worked to a certain extent but as soon as you selected more than 1 value in a single multi-select box, it wouldn't work, as it simply chose to use the last value. This is the form

jQuery/js separating 2 drop down values

孤街醉人 提交于 2019-12-25 04:26:59
问题 I'm using Eric Hynds jQuery MultiSelect Widget. I'm actually using 2 separate widgets that when checked, creates a dynamic checkbox w/ value attached to a corresponding 'Main' checkbox if 'Main' checkbox is checked. Please see my fiddle with comments inside to illustrate my problem:http://jsfiddle.net/3u7Xj/52/ How to separate the 2 widgets to show in corresponding sections and still only allow the user to choose 2 combined from either? $(document).ready(function() { $(".multiselect")

multiselect biding after ajax load

大兔子大兔子 提交于 2019-12-25 03:30:26
问题 i have this code : $('body').live('mousemove mouseover', function () { $("#parent_task").multiselect({ selectedList: 4, click: function(event, ui){ var cntInput=$("#child_task").multiselect("widget").find('input[value='+ui.value+']').parent('label'); if(ui.checked){ cntInput.hide() }else{cntInput.show() } } }).multiselectfilter(); $("#child_task").multiselect({ selectedList: 4, click: function(event, ui){ var cntInput=$("#parent_task").multiselect("widget").find('input[value='+ui.value+']')

Show already selected item in dropdown in django template

橙三吉。 提交于 2019-12-24 18:46:34
问题 Hi I have a dropdown like this <select name="category" data-placeholder="select Category here" multiple class="chosen-select" tabindex="8" required> <option value=""></option> <option>Transport</option> <option>Accommodation</option> <option>Ware House</option> <option>Readymade</option> </select> And I am getting selected element of this dropdown from database Filter query like this categories=Categories.objects.filter(vendor=uid) when I for loop like this {% for category in categories %}

Change function stop working when I add Dropkick or MultiSelect plugins to style Select elements

拜拜、爱过 提交于 2019-12-24 09:25:42
问题 This Change function stops working when I add either of the plugins/widgets I use for styling Select or Multi-Select elements (Dropkick - http://jamielottering.github.com/DropKick/ and jQuery UI MultiSelect Widget http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/) :-( Any idea how to get around this? I had some trouble adding the plugin to the fiddle, so I created separate fiddles: http://jsfiddle.net/chayanyc/Dhaat/201/ - Function that works http://jsfiddle.net/chayanyc/vWLEn/89/