View Single Post
01-12-07, 03:53 PM   #24
Lumindeas
A Murloc Raider
 
Lumindeas's Avatar
Join Date: Dec 2006
Posts: 9
Big thanks to Krinla for the FAQ and Huge thanks to Clad for coming up with and continuing work on PRaid!!

Ok, I'm a total noob on this coding thing. I saw how to change to Class view from Group view, but I would like to go back to Group view. When I downloaded yesterday it gave me sorting by class by default. I'm looking at this line:

column:SetAttribute("groupBy", "CLASS")

To view by group, is it as easy as changing "CLASS" to "GROUP"?

Not sure what line I'm on so here's a little of before and after that line:

self.db.profile.headers["PRHeaderColumn"] = setmetatable({}, {__index=self.headerDefaults})
local column = self:CreateRaidFrame("PRHeaderColumn", nil, "1,2,3,4,5,6,7,8", nil)
column:Hide()
column:SetAttribute("groupBy", "CLASS") <- this is the line I'm looking at
column:SetAttribute("groupingOrder", "WARRIOR,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER")
column:SetAttribute("maxColumns", 1)
column:SetAttribute("unitsPerColumn", 40)
column:SetAttribute("columnSpacing", 10)
column:SetAttribute("columnAnchorPoint", "LEFT")

Thanks for the help. Keep up the awesome work guys!
Lumi
  Reply With Quote