Unit is a component that presents a list of data united by some common values. Ui-related UNITLIST inherits from list.
Related sample: 04_list/18_unitlist.html
The following is an example of initialization with the commonly used parameters (to see a full list of UNITLIST's parameters, please refer to the corresponding chapter of the manual):
dhx.ui({ view:"unitlist", id:"list", select:true, sort:{ by:"#name#" }, uniteBy:function(obj){ return obj.name.substr(0,1); }, template:"#name#", url: "data.xml" })
Specify id if you're going to refer to UNITLIST later.
To use ui functionality, touchui.css and touchui.js files must be included.