Widgets > wijcombobox |
Display a resizable and editable text box/drop-down list on your HTML page with this easy-to-use combo box widget. The wijcombobox widget emulates the Microsoft ComboBox control for WinForms.
<input id="combobox" />
or
<select id="combobox">
<option value="c++">c++</option>
<option value="java">java</option>
<option value="php">php</option>
<option value="coldfusion">coldfusion</option>
</select>
Now you need to initialize the wijdialog widget, which you can do by adding the following script to the .cshtml file:
<script type="text/javascript">
$(document).ready(function () {
$("#combobox").wijcombobox();
};
</script>
When you run the program, a wijcombobox will be on your .cshtml page. If you click the drop-down button on the wijcombobox button, you will see the four selections you added to the combo box.
For more information about wijbarchart, click one of the external links to view our Wijmo wiki documentation: