While form controls will be covered in Chapter 7, Forms and Validation, it is worth investigating the ComboBox here. At first glance, it seems similar in functionality to a regular HTML
select element, but in reality has more rich features akin to a desktop-like widget. In fact, it internally makes use of a
BoundList, which is a subclass of DataView, hinting at the feature-rich options it potentially has, which we will touch upon.
Here we want to see how the idea of Stores and Models applies to a ComboBox. The reason these are reused here is that we are still binding data, but this time to the options of a ComboBox.
Consider this following simple example that binds some data to a ComboBox. We will ...