ZO_ScrollList is much more complex template then ZO_ScrollContainer. If you are not going to use ZO_ScrollList functions it's much easier to use the ZO_ScrollContainer template.
For example if you want to add data to the ZO_ScrollList, you should use:
function ZO_ScrollList_AddDataType(self, typeId, templateName, height, setupCallback, hideCallback, dataTypeSelectSound, resetControlCallback)
Working example is in pills' ScrollListExample addon which I have linked before.
|