Add columnlist:GetColumnName

This commit is contained in:
Kenny Shields 2014-08-17 02:04:56 -04:00
parent 9626e7ef8c
commit 3d46bf900f

View File

@ -677,6 +677,24 @@ function newobject:SetColumnName(id, name)
end
--[[---------------------------------------------------------
- func: GetColumnName(id)
- desc: gets a column's name
--]]---------------------------------------------------------
function newobject:GetColumnName(id)
local children = self.children
for k, v in ipairs(children) do
if k == id then
return v.name
end
end
return false
end
--[[---------------------------------------------------------
- func: SizeToChildren(max)
- desc: sizes the object to match the combined height