Questions tagged as 'dropdown'

1
answer

Define the selected value in a SelectList (DropDownList)

I have a list of vehicle models: private List<ModeloRastreador> modelo = new List<ModeloRastreador>(); I add the result that came from the bank foreach (var m in modelo) { modeloRastreador.Add(new SelectListItem {...
asked by 14.10.2014 / 17:05
1
answer

Show more than one column value from dropdown C #

How could I show more than the value of a column in a dropdown? I tried the following method: private void BindDropDownList() { DataTable dt = new DataTable(); string localidade = string.Empty; string distrito =...
asked by 12.07.2015 / 00:38
3
answers

Bootstrap navbar dropdown menu focus control after the click

Situation I have a navbar on my site, and in it I have several dropdown / megamenus menus. I need when clicking this dropdown, the user has the option to "scroll" the page up and down with the arrow keys. With the mouse scroll this alrea...
asked by 08.05.2014 / 15:38
0
answers

PRESTASHOP - create cascading dropdown category

Sirs, I am trying and banging my head to create a cascading filter for Prestashop, based on its categories, and the plugins I found are paid for. What would be the best way to do it? If only Prestashop returned me a json, I would get popul...
asked by 17.11.2016 / 16:42
0
answers

Dropdown menu does not appear [closed]

Can anyone help me? The dropdown menu does not appear. I tried the z-index but it did not work. Code snippets body .white { color: #f2f2f2; } a:link, a:active, a:visited { color: #f2f2f2; text-decoration: none; } a:hove...
asked by 28.07.2016 / 23:34
3
answers

Do the Bootstrap dropdown close when clicking another dropdown in the same menu?

The menu must remain open while I click anywhere on the document or screen, but when I click on the dropdown of a second menu, it should close the previous menu, and also need to open and close by clicking the dropdown. My bootstrap code:...
asked by 14.04.2016 / 14:30
1
answer

dropdown with pure javascript

Talk to people, good morning, I need a help with a dropdown. every donation in the database I have a button that I click on the items that have been donated. I have the following line of code: user-donation.js const dropdownBtns = doc...
asked by 13.11.2018 / 14:48
2
answers

Popular input with data from the same table via dropdown

I have a select that pulls the name of a product. I want you to select the product name via dropdown and automatically fill in an input with product code. The information is in a single table, in the id, id_produto, nome ,serial, log...
asked by 08.09.2014 / 20:21
3
answers

Show DB value in Dropdown Box

I have a user-level value in my database and would like to be able to modify it in the change. I need to open the page to load the logged in user level: <div class="form-group"> <label>Nivel de Usuário</label> <sel...
asked by 07.10.2015 / 16:56
1
answer

Create FullCalendar Event Filter

Good morning, I would like to know how do I create a filter in a dropdown that will return me certain events. An example is this: link , but with a dropdown. I glanced at some materials, but nothing that could help me. Thanks     
asked by 09.11.2016 / 16:05