Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:API SortWho
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} __NOTOC__ SortWho(sortType) Sorts an existing /who list; displays the Who List frame if not visible. == Parameters == === Arguments === :(string sortType) :;sortType:String - The type of sort you wish to apply to the who list. This can be anything you could normally sort by clicking column headers in the Who frame: ::* "Name" ::* "Level" (note that the column header is labeled Lvl) ::* "Class" ::* "Zone" ::* "Guild" ::* "Race" :: Any other value (but nil) for sortType is treated the same as "Name". === Returns === : SortWho appears to always return ''nil''. == Triggers Events == {{Stub/API}} ''The API doesn't actually show the who list frame. It triggers an event that causes the frame to show. --[[User:Mikk|<span style="border-bottom: 1px dotted; cursor: help;" title="Mikk is a WoWWiki Admin">Mikk</span>]] <small>([[User talk:Mikk|T]])</small> 18:41, 22 September 2006 (EDT)'' == Example== SortWho("Level"); === Result === : Displays the current who frame and applies a sort by level, reversing the sort if the frame was previously sorted by level. == Details == :* Calling the same sort twice will reverse the sort. :* You may sort by Guild, Race, or Zone even if it is not the currently selected second column on the who frame. :* Calling SortWho will display the who frame if it is not currently visible and apply the sort.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Stub/API
(
edit
)
Template:Stub/Box
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)