Every table is a list of keys and values. In a multidimensional table, it's a base table with additional tables as values to add depth. To get the keys in the second dimension in this case, you need to put in a nested loop iterating through the retrieved table.
lua Code:
-- generic format
CFM_Profiles[realm][toon] = {}
-- create dropbox values
function CFM_LoadDropInit(self)
local level = level or 1
local info = UIDropDownMenu_CreateInfo()
local i = 0
for realm, list in pairs(CFM_Profiles) do
for name, data in pairs(list) do
info.text = realm.. " - ".. name -- line 1363
-- Finish what you need to do
end
end
end