List

Overview

LIST is a component that presents a normal list of data items. Ui-related LIST inherits from view.
It's similar to GROUPLIST component. The difference between them is data presentation. GROUPLIST presents data in groups while LIST presents a general list of items.


Related sample: 04_list/01_init.html

Initialization

The following is an example of initialization with the commonly used parameters (to see a full list of LIST's parameters, please refer to the corresponding chapter of the manual):

dhx.ui({
            container:"list_container",
            view:"list", 
	    id:"mylist", 
            url:"books.xml", 
            datatype:"xml",
            template:"#title# (#author#)",
            select:true, 
            type: { width: 500 }
});

Specify id if you're going to refer to LIST later.

Working with list

API Reference

Related how-tos

A full list of articles.

To use ui functionality, touchui.css and touchui.js files must be included.