Wiki

Articles tagged with "dropdown", sorted by commentsX
Displaying 1-4 of 4 result(s).

Creating a CSS Driven Drop Down Menu using CMenu

Created 3 years ago by blindMoeHow-tos9 comments – viewed 67,332 times – ( +22 / -1 ) – version 1.1
CMenu offers great functionality and the ability to customize just about every aspect of the output. There are many times when I need to create a drop down menu or simply modify the look to make the designers happy. Because this seems to be a common task for me, I figured I would share my code to create a very simple drop down menu that other people could use.

Managing your nested dropdown dependency with DepDrop widget

Created 6 months ago by Kartik VTutorials5 comments – viewed 4,256 times – ( +28 / -5 ) – version 2.0
If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

How to create the custom Drop-down using CHtml::dropDownList

Created 4 months ago by Ankit ModiHow-tos1 comment – viewed 3,364 times – version all
Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

How to preload dropdowns in CForm

Created about a year ago by transistorTips0 comments – viewed 4,130 times – ( +1 )
So you want to use CForm (form builder), but need to preload dropdowns in a form? It's simpler than it seems. You got your CFormModel, CForm and the actual Form, right? Let's say you have the typical State -> City dependent dropdowns, so you would want to load the from with the State and City selected.