'ZO_SortHeader_OnMouseEnter' error
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 |
Quote:
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. |
I will look at my initialization again this evening. I'm basically showing the same information as your example. Only I added a few new fields like veteran rank and location to the list. I started with a new file so I probably have mistyped something along the way.
|
1 Attachment(s)
Quote:
|
Quote:
This function is called in the UnitList:FilterScrollList(). By the way even if you don't see in the code where FilterScollList() method is used, it is still necessary. It is called every time when you refresh data using the UnitList:Refresh() - from the ZO_SortFilterList:RefreshData(). |
Quote:
|
Quote:
|
I ended up just starting from scratch and everything works now. I wasn't able to do a file difference comparison. But it works now!
|
All times are GMT -6. The time now is 05:22 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI