Home > Foresight Analytics Platform > Web Application and Desktop Application > Application Development and Functionality Enhancement > Developing Web Application Using DHTML Components > Working with Lists > Classes > LongListBox > LongListBox.getItems
getItems(toArray: Boolean);
toArray. Indicates whether elements are returned as an array. If the value is True, elements will be returned as an array, otherwise as an object.
The getItems method returns loaded elements of grouped list.
Array elements - objects of the PP.Ui.LongListItem class.
The example of method use is given in description of the LongListBox.isAllLoaded method.
See also: