O'Reilly logo

Ext.NET Web Application Development by Anup Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ComboBox

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.

Define Store and Model with a ComboBox

Consider this following simple example that binds some data to a ComboBox. We will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required