Grid/Guide/Advanced
From WowAce Wiki
Contents |
[edit]
Advanced Tips and Tricks
Here's where we keep potentially complicated customizations to Grid.
[edit]
Customizing the Layout
[edit]
Layout Attributes
- isPetGroup = [BOOLEAN]
- if true, this column will show pets instead of player characters. (unlike the other attributes, this one is not part of the Blizzard API.)
- nameList = [STRING]
- a comma separated list of player names (not used if 'groupFilter' is set)
- groupFilter = [1-8, STRING]
- a comma seperated list of raid group numbers and/or uppercase class names
- strictFiltering = [BOOLEAN]
- if true, then characters must match both a group and a class from the groupFilter list
- sortMethod = ["INDEX", "NAME"]
- defines how the group is sorted (Default: "INDEX")
- sortDir = ["ASC", "DESC"]
- defines the sort order (Default: "ASC")
- groupBy = [nil, "GROUP", "CLASS"]
- Required if groupingOrder is set (Default: nil)
- groupingOrder = [STRING]
- specifies the order of the groupings (ie. "1,2,3,4,5,6,7,8")
- maxColumns = [NUMBER]
- maximum number of columns the header will create (Default: 1)
- unitsPerColumn = [NUMBER or nil]
- maximum units that will be displayed in a singe column, nil is infinate (Default: nil)
- startingIndex = [NUMBER]
- the index in the final sorted unit list at which to start displaying units (Default: 1)
- columnSpacing = [NUMBER]
- the ammount of space between the rows/columns (Default: 0)
- columnAnchorPoint = [STRING]
- the anchor point of each new column (ie. use LEFT for the columns to grow to the right)
- filterOnPet = [BOOLEAN]
- if true, then pet names are used when sorting/filtering the list
- useOwnerUnit = [BOOLEAN]
- if true, then the owner's unit string is set on managed's frames "unit" attribute (instead of pet's)
[edit]
Related Pages
Links in red are sections that haven't been completed yet.

