This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
KgPanels Script question
Post Reply
Return to board index
Post by
278110
This post was from a user who has deleted their account.
Post by
HighFive
Try Grid:GetModule"GridLayout":LoadLayout(layoutName)
Post by
278110
This post was from a user who has deleted their account.
Post by
HighFive
Actually it should be what you're looking for.
Specifically try:Grid:GetModule"GridLayout":LoadLayout"None"
and
Grid:GetModule"GridLayout":LoadLayout"By Group 10"
Edit: After returning home and actually trying:GridLayout.db.profile.layouts = "None"
GridLayout:ReloadLayout()
and
GridLayout.db.profile.layouts = "By Group 10"
GridLayout:ReloadLayout()Tested and working.
Post by
278110
This post was from a user who has deleted their account.
Post by
278110
This post was from a user who has deleted their account.
Post by
HighFive
It should work properly.
The only way I can think it'd fail is if you're playing on a non-english client. The "None" and "By Group 25" should be the same they appear in the options window.
Edit: Just tested your code word for word (except for ChatFrame2 instead of 4) and it works.
Post by
278110
This post was from a user who has deleted their account.
Post by
278110
This post was from a user who has deleted their account.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.