Listbox
The Listbox component manages the data items in the form of a list.
** This class will not be supported in 2015.
All functionalities of AppsFramework are more improved, integrating with CAPH. Therefore Appsframework is not supported since 2015 Smart TV. To use functionalities of Appsframework, refer to here.
The number of items in the list can be set and an event handler can be added for each entry in the list.

Figure. Listbox component
Syntax | $.fn.sfList = function(options, value) |
Parameter |
|
Value |
|
Property |
|
If the number of list items is changed, it is not visible in the Visual Mode, but the changes are reflected in the Emulator when running the application.

Figure. Listbox properties box

Figure. itemsPerPage


Figure. focus

Figure. blur

Figure. clear
The default code for the Listbox CSS is given below:
#SceneScene1 #svecListbox_R1YN {
position: absolute;
left: 320px;
top: 40px;
width: 200px;
}