Thread: ZO_Helpers
View Single Post
10/11/14, 05:02 PM   #4
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
You don't need to sort anything in BuildMasterList. There's SortScrollList for that, it's called after the list is filtered to sort only items that pass the filter; and also when sort order changes, the list is not rebuilt, just sorted again. I'm looking into SLE and it looks like everything's in place.

Try this in UnitList:Initialize():
Lua Code:
  1. units.sortHeaderGroup:SelectHeaderByKey("name", ZO_SortHeaderGroup.SUPPRESS_CALLBACKS)

edited: wrong member name

Last edited by merlight : 10/11/14 at 05:04 PM.
  Reply With Quote