Originally Posted by skobyjay
Hello,
i'm getting the message below. i'm trying to mimic the ScrollListExample. my data is displaying but the sort doesn't work. is there any simple things to double check for this error?
Code:
EsoUI/Libraries/ZO_SortHeaderGroup/ZO_SortHeaderGroup.lua:264: attempt to index a nil value
stack traceback:
EsoUI/Libraries/ZO_SortHeaderGroup/ZO_SortHeaderGroup.lua:264: in function 'ZO_SortHeader_OnMouseEnter'
11557962843809674184:3: in function '(main chunk)'
|
Original code of Scroll List Example works, so what chages did you do?
ZO_SortHeader_OnMouseEnter(control) function expects that control exists and control must have ZO_SortHeaderGroup object in the control.sortHeaderGroup key. Basically if header is properly initialized it works.