Thread Tools Display Modes
11-28-15, 12:56 PM   #1
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
SecureGroupHeaders

I would like to create a standard 8x5 raid frame with secure headers which keeps the groups together instread of filling the missing buttons.
I know it is possible with the default raid frame, however i could not find how does it works. It is a special atrribute i need to apply or do i need to create a new group header for every group?
Any help would come handy.
  Reply With Quote
11-28-15, 01:25 PM   #2
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
This page lists group header attributes, you're probably interested in setting "groupBy" to "GROUP".
  Reply With Quote
11-28-15, 04:10 PM   #3
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by semlar View Post
This page lists group header attributes, you're probably interested in setting "groupBy" to "GROUP".
Thats sadly only for sorting, i would like to keep the empty spaces between the frames if they are not in the same group.
  Reply With Quote
11-28-15, 04:18 PM   #4
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by Resike View Post
Thats sadly only for sorting, i would like to keep the empty spaces between the frames if they are not in the same group.
Make multiple headers, filter each by group, only showing one group per header.
  Reply With Quote
11-28-15, 08:25 PM   #5
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by p3lim View Post
Make multiple headers, filter each by group, only showing one group per header.
Yeah, that was i was afraid, i hoped i could just apply a simple attribte to auto do this.
  Reply With Quote
11-28-15, 09:19 PM   #6
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
Not "auto do" but couldn't you use:

Header:SetAttribute("sortMethod", "NAMELIST")

("NAMELIST" isn't mentioned on the wowProgramming page as a "sortMethod" option)

Sort YourNameList by group with spaces in the appropriate places.

Header:SetAttribute("nameList", YourNameList)

I haven't tried it (the spaces/blank names/"").

Just a thought.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 11-29-15 at 01:58 AM.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » SecureGroupHeaders


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off