I'm building an app with PowerApps and I have a combo box with several options that can only be picked once. Is there a way to delete/unable/mark an option after it has been chosen?
Just press the x next to the chosen option you want to unselect.
Related
We are able to create ComboBox and populating data too. But we need to highlighting already saved values. Can you please suggest code for this.
Our requirement is if Combobox has 1,2,3. If I select 2 and save. We need to set the combo box value 2 in such way that when we open the Combobox need to display this 2 as highlight value along with 1,2,3 values.
Simply same as select box option selection.
I would generally recommend avoiding ComboBox altogether.
Assuming this isn't an option you will need to define a renderer and disable the OS specific 2 render mode using a theme constant:
otherPopupRendererBool=false
I have a combo box on my form that needs to be editable. It is currently populated by a query that provides a set of values based on the value in another combo box. The "Limit to List" is set to "No". The "Allow Value List Edits" is set to "Yes". Sometimes the user wants the ability to add an item to this box. The value does not need to be stored permanently in the tables.
The question is, is the edit feature disabled because of the kind of query that I have for populating it i.e. dependent on another combo box value? What are the options for enabling the edits?
Thanks in advance
I should have checked this out properly. I was expecting to see something at the bottom of other values similar to what happens when you have a value list. That doesn't happen.
I was able to type in directly into the Combo box and the value did get added to my table on executing the code to add a record. The "Limit to List" should obviously be set to "No". When that is set to "Yes", you get an error message about selecting only the available values.
I have created a web page which consist of text boxes and check boxes. The collaboration between the text boxes are working fine but there is no check boxes collaboration. How to do coding for the check boxes so that the collaboration can happen? An example will help greatly. Please advise...thanks.
You need to store the state of the checkbox somewhere in the data model, probably as a boolean. You update the value when the user checks the checkbox, and listen for change events to find out when a collaborator changed it and then update the checkbox yourself.
I have been searching for a while now, and have not been able to find a load-on-demand combo box that populates itself depending on what is typed in the combo-box.
I also have a requirement that an item in the list must be selected (i.e.: free text can be entered but not "selected" - only a "search result" can be selected from the list in the combo box.
The scenario is as follows : there is a text box/combo box where someone enter the first 2 or 3 characters, a web service is called which queries a database and then populates the combo box.
Are there any controls or code example that anyone knows of? Or alternatively another way to implement this?
Here is a link to an asp.net control that has this functionality:
http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx
use the event "textchanged" to dynamicly add/remove items :)
updated :
why not bind the results to observable collection and databind that to the combo box , so on chnage > query database > bind items to the collection , .net automatilcy updates the items , this might work :)
Telerik combobox with autocomplete will be what you are looking for.
I am using Silverlight with Telerik Controls.
There is one scenarios where i stuck with it.
1) I have added Tab control into page(XAML page) with two tab Items.
2) I have also added stack panels into both tab items to dynamically add controls into respective stack panels.
3) Then Dynamically added combo boxes into stack panel and these combo boxes are binding with datasource.
4) I am giving bydefault selection functionality for combo by coding, if label name and values of the datasource matching then it will bydefault select perticular item.
5) And finally when i click on the Map button then it will give me two objects with selected comboxes list with respective tabs.
6) When i directly click on the Map buttom then it is giving me proper result.
7) But i did some changes like select some of combo boxes and remove selection from combo boxes then it is givng me correct result of currently selected tab Item. and another tab item shows with zero selction.
8) In this case, i am not able to find controls from another tab.
Can anyone plz help me for a correct way...
Thanks....
Have you posted this to the community forum or posted a support ticket concerning the issue you are having? If possible, please submit a support ticket or post to the forum with the code showing what you are working on so we can look a bit more into the issues you are having.
Thanks!
Evan