combobox

Add row to grid panel, but with separate construction details in ExtJS

I have generated grid panel based on my results in PHP. Here is a grid panel: myGridPanel. Now I need to create third row in grid panel and place Ext.form.ComboBox inside this third row. There should be a Ext.form.ComboBox for every column. NB! Not one combobox, but a number of them for every column, but only in third row. I thought ab...

editable combobox and update of the binded observablecollection

hello all, I an a newby and I spent over a day trying to figure it out how to update the observablecollection binded to a combobox. What I would like to do is to edit an item of a combobox, and then when I change the selection have it set as the current selected item and update the collection so that when I open the dropdown I see all re...

Trying to create a 6 level combobox that uses JSON on the backend

I have been looking at a lot of combo boxes but have yet to see one that uses JSON on the backend or one that is more than six fields. I was trying to use http://www.appelsiini.net/2010/jquery-chained-selects as a resource but am having trouble implementing JSON at the backend. Would someone mind giving me a hand? ...

Adding an AJAX call to this Combobox to read through JSON

I'm having problems adding a XHR request to query JSON to my script, I rarely work with either so it's giving me a lot of problems. I know that I will need to query a JS file, and that I will need to select from matches in an array, but I am completely stumped on how to do it. Something else I need to do is count matches each time I fir...

how to display most recently used list in combo box

Hi, I'm using infragistics WPF editors and XamComboEditor. In previous WinForms version there was MRU list capability. What it basically does is it displays list of most recently used items at the beginning of the list and separates those items with some separator (which cannot be selected). Regular list of combo box items follows after...

ExtJS - problem setting combobox width

Let me preface this by saying that I've been working with ExtJS for all of a week and half, so please pardon the noobishness. I'm building a form inside of a tab panel, and I was testing different ways to lay out two comboboxes side by side instead of stacked on top of each other. My first attempt was with a fieldset, but I abandoned t...

How to set SelectedValue of a List bound Combobox with an item not available in the List

I have a List with objects of class Person. I have set the list as a DataSource of a ComboBox. Now when I set the SelectedItem of the ComboBox a new instance of class Person, the SelectedItem never sets. Why it happens? public class Person { public Person(string name, int age) { Name = name; ...

Filter Combobox Data in Java

In java, let's say there are two jpanels, when I click button 'A' on Panle'1', it will show panel '2'. In panel '2', there are two comboboxes and I finished all necessary coding. But one thing to filter is combobox'1' will show only those data who has 'book'prefix. & combobox '2' will show only those without 'book prefix'. How should I f...

Null items not shown in ComboBox with binding

Hello, I'm having some difficulties with null and a ComboBox in WPF/C#; If a add a null item it is not shown/listed in the ComboBox. Here is de XAML declaration of my ComboBox <ComboBox ItemsSource="{Binding Path=MyList}" SelectedItem="{Binding Path=Type}" /> MyList is declared as public ObservableCollection<Type> MyList...

RibbonComboBox MouseLeave Event doesnt fire

I cant get mouseleave to fire inside a ribboncombobox inside a ribboncontrolgroup inside ribbon tab inside a ribbon. I have a behavior that on mouse enter opens the dropdown and should close it on mouseleave except mouseleave doesnt fire I verified this using snoop and by setting a breakpoint on the event. Any ideas or workarounds? ...

GoToState not working on controltemplated usercontrol based on combobox

I'm trying to create a custom combobox that shows a loading animation when a bool property is set on it (e.g. IsLoading). I've created a control template in Blend based on the combobox, and added a textblock inside the togglebutton template. In the code behind I'm calling VisualStateManager.GoToState but it always returns false. I was t...

how to select combobox item internet explorer for extjs application ?

First of all the code below works for my app for non ie browsers (i am using perl with selenium for extjs testing): http://seleniumexamples.com/blog/examples/select-an-option-from-an-extjs-combobox/ unfortunately the xpath library gives zero xpath count if i dare to add the visibility condition. The page content changes, so first i ha...

c# combobox ValueMember

Hello guys, I am experiencing some problems while setting ValueMember property of my ComboBox. The line comboBox1.ValueMember = "Code"; breaks my code. Here is my code: Form1.cs: private void Form1_Load(object sender, EventArgs e) { ... ... MAPList MAP = new MAPList(); comboBox1.DataSource = MAP.All; ...

c# combobox overridden ToString

Hello guys, I am experiencing some problems while working with ComboBox. The display member for my combobox is not being populated by the overridden ToString method of class MAP. Here is my code: Form1.cs: private void Form1_Load(object sender, EventArgs e) { ... ... MAPList MAP = new MAPList(); comboBox1...

Is it possible to connect two QComboboxes dynamically?

hi! I have two comboboxes: The first one is Language (English, Italian, French...) and the second one is another list of stuff that is different for every language (or a little bit different) so the content must be loaded every time the language is changed. How can I handle it? Example: If I select English, in the second combobox I ...

Selecting items in a ListBox

I have a method that fills a ListBox with objects (custom class) internal void UpdateList() { foreach (Item item in Container.Items) List.Items.Add(item); } Container also is a custom class that holds a List<Item> where all objects of this container is stored. Now, the user can select (using a ComboBox) to display a certain Contai...

how to use same json for populating two combobox?

I have two combobox and one url which is sending me json data to populate inside the combobox. How can I use same url to populate the combobox. `Can I use` $(".loctype").autocomplete({ source: function(request, response){ $.ajax.. } }); I am not sure whether this is possible or not. I will appreciate if someone point me toward ri...

Excel combo box problem

I have a form in Excel with a combo box control. I want the values to be filled from a database table when the combo box is opened using what has already been typed in as a LIKE criteria. This is the code I have so far for the DropButtonClick event to achieve this. Private Sub cboVariety_DropButtonClick() Static search_text As Strin...

C# program exception

An exception occured. Exception is specified cast is not valid int s = (int)comboBox1.SelectedItem; ...

Selecting PHP Combo Box and Button

Hi There! I am currently using PHP 5 with a MysSQL database with 2 tables. So far my PHP Combo Box is working however I need to access the values selected from the combo box. it goes like this: 1) I select a value from the Combo Box. 2) I click on the Submit button 3) The Submit button brings me to another webpage. The problem that my ...