WoW GridCustomLayouts addon Dragonflight/Wrath of the Lich King Classic 2024
logo
wow addon GridCustomLayouts

GridCustomLayouts

Game Version: 7.2.0
Total Downloads: 46,676
Updated: Apr 20, 2017
Created: May 31, 2009
download GridCustomLayoutsDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
2017.04.20 release 15.49 KB Apr 20, 2017 7.2.0 4,241 download GridCustomLayouts 2017.04.20 releaseDownload
2016.09.05 release 15.61 KB Sep 4, 2016 7.0.3 2,790 download GridCustomLayouts 2016.09.05 releaseDownload
1.05.05 release 9.93 KB May 5, 2011 4.0.6 19,121 download GridCustomLayouts 1.05.05 releaseDownload
0.10.19 release 10.13 KB Oct 18, 2010 4.0.1 9,217 download GridCustomLayouts 0.10.19 releaseDownload
0.10.18 release 9.92 KB Oct 18, 2010 4.0.1 1,864 download GridCustomLayouts 0.10.18 releaseDownload
1.41 release 9.88 KB Mar 29, 2010 3.3.3 3,071 download GridCustomLayouts 1.41 releaseDownload
1.4 release 9.89 KB Dec 29, 2009 3.3.0 3,294 download GridCustomLayouts 1.4 releaseDownload
1.3 release 9.45 KB Sep 12, 2009 3.2.0 356 download GridCustomLayouts 1.3 releaseDownload
1.2 release 9.83 KB Jun 18, 2009 3.1.0 446 download GridCustomLayouts 1.2 releaseDownload
1.1 release 7.09 KB Jun 1, 2009 3.1.0 182 download GridCustomLayouts 1.1 releaseDownload
r8 beta 9.72 KB Jun 4, 2009 3.1.0 125 download GridCustomLayouts r8 betaDownload
r7 beta 9.68 KB Jun 3, 2009 3.1.0 62 download GridCustomLayouts r7 betaDownload
r6 beta 9.60 KB Jun 3, 2009 3.1.0 61 download GridCustomLayouts r6 betaDownload
r25 alpha 9.91 KB May 5, 2011 4.1.0 1,401 download GridCustomLayouts r25 alphaDownload
r23 alpha 9.88 KB May 5, 2011 4.1.0 34 download GridCustomLayouts r23 alphaDownload
r21 alpha 10.09 KB Oct 18, 2010 4.0.1 23 download GridCustomLayouts r21 alphaDownload
r20 alpha 9.92 KB Oct 18, 2010 4.0.1 51 download GridCustomLayouts r20 alphaDownload
r19 alpha 9.87 KB Oct 18, 2010 4.0.1 42 download GridCustomLayouts r19 alphaDownload
r17 alpha 9.84 KB Oct 18, 2010 4.0.1 48 download GridCustomLayouts r17 alphaDownload
r15 alpha 9.85 KB Mar 29, 2010 3.3.3 44 download GridCustomLayouts r15 alphaDownload
r13 alpha 9.85 KB Dec 29, 2009 3.3.0 36 download GridCustomLayouts r13 alphaDownload
r11 alpha 9.41 KB Sep 12, 2009 3.2.0 32 download GridCustomLayouts r11 alphaDownload
r9 alpha 9.77 KB Jun 18, 2009 3.1.0 27 download GridCustomLayouts r9 alphaDownload
r5 alpha 9.54 KB Jun 3, 2009 3.1.0 33 download GridCustomLayouts r5 alphaDownload
r4 alpha 9.35 KB Jun 2, 2009 3.1.0 36 download GridCustomLayouts r4 alphaDownload
r2 alpha 7.05 KB Jun 1, 2009 3.1.0 39 download GridCustomLayouts r2 alphaDownload

Screenshots

Description

Share this:

An extension for Grid.

GridLayoutLayouts.lua file contains many "Layouts" to arrange the unit buttons. Sometimes we may find it doesn't meet the needs.

This extension makes it possible to add new layouts in game. And it simplified the code to describe a layout.

Click "Grid – Layouts – Custom Layouts" to bring up a edit frame.

Each line stands for a Unit Button Group. The Grammer is:
attribute1=value1;attribute2=value2;…;attributeN=valueN;

List of the attributes

================================================

showRaid = [BOOLEAN] – true if the header should be shown while in a raid
showParty = [BOOLEAN] – true if the header should be shown while in a party and not in a raid
showPlayer = [BOOLEAN] – true if the header should show the player when not in a raid
showSolo = [BOOLEAN] – true if the header should be shown while not in a group (implies showPlayer)
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 and/or uppercase roles
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", "ROLE"] – specifies a "grouping" type to apply before regular sorting (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)

The simplify is:
You don't need the entire class/role name, just the start part of it :
WARLOCK or WARLOC or WARL or WL -> "WARLOCK"
WARRIOR or WARR -> "WARRIOR"
MAINT or MT -> "MAINTANK"
MAINA or MA -> "MAINASSIST"

5/2 -> unitsPerColumn="5";maxColumns="2"

PET -> isPetGroup=true

INDEX or NAME -> sortMethod="INDEX" or sortMethod="NAME"

ASC or DESC -> sortDir="ASC" or sortDir="DESC"

STRICT -> strictFiltering="true"

GROUP or CLASS or ROLE -> groupBy="GROUP" or groupBy="CLASS" or groupBy="ROLE"

You don't need to write "groupFilter=", for example:
1,2,3,4,5 is just the same as groupFilter="1,2,3,4,5"
WARR,PAL,DRU is just the same as groupFilter="WARRIOR,PALADIN,DRUID"

If the group name is not group ids and not class or role names, for example:
Abcde,Xyz will be parsed to nameList="Abcde,Xyz"

That's all. A little complicated though. Advanced user only 🙁

Actually, I don't use this much, just put it here for sharing.

Attribute: noRepeat = true
Now you can add a NOREPEAT(NOREP,NOR and NR is just the same) attribute to non-pet group header, for example

WARRIOR,PAL;NOREPEAT
1;NOREPEAT
2;NOREPEAT
3;NOREPEAT
4;NOREPEAT
5;NOREPEAT
Someone,Anotherone

In the above layout, the first group will contains WARRIORs and PALADINs, but not Someone or Anotherone.
And the next 5 groups will contains team 1-5 members, but not Someone or Anotherone, neither any WARRIORs or PALs.
Actually, group headers with NOREPEAT are parsed to specified nameList groups, therefore the 'groupBy' attribute will be ignore.

Comments

Add a comment