Pagelist is a component for presenting different views which can be changed by means of scrolling (horizontal or vertical). By changing size of pagelist area, you can set any number of displayed at the same time views. Ui-related pagelist inherits from list.
To init the component you need to perform a simple procedure - call initialization code.
Initialization code or an object constructor lets you create an object by using common declaration.
dhx.ui ({view:"pagelist", ...})
In constructor you can specify the following parameters:
Please note, pagelist is a derived class, i.e. it inherits all the features of the base classes (pagelist → list → view).
dhx.ui({ container:"container", rows:[ { height:230, view:"pagelist", layout:"x", url:"xml/books.xml", datatype:"xml", template:"#name#", panel: false }] })
To use ui functionality, touchui.css and touchui.js files must be included.