Add columnlist:GetCellText

This commit is contained in:
Kenny Shields 2014-08-17 02:19:28 -04:00
parent 0f984f76d2
commit cefc86b010

View File

@ -763,6 +763,22 @@ function newobject:SetCellText(text, rowid, columnid)
end end
--[[---------------------------------------------------------
- func: GetCellText(rowid, columnid)
- desc: gets a cell's text
--]]---------------------------------------------------------
function newobject:GetCellText(rowid, columnid)
local row = self.internals[1].children[rowid]
if row and row.columndata[columnid] then
return row.columndata[columnid]
else
return false
end
end
--[[--------------------------------------------------------- --[[---------------------------------------------------------
- func: SetRowColumnData(rowid, columndata) - func: SetRowColumnData(rowid, columndata)
- desc: sets the columndata of the specified row - desc: sets the columndata of the specified row