mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
Add columnlist:GetCellText
This commit is contained in:
parent
0f984f76d2
commit
cefc86b010
@ -763,6 +763,22 @@ function newobject:SetCellText(text, rowid, columnid)
|
||||
|
||||
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)
|
||||
- desc: sets the columndata of the specified row
|
||||
|
Loading…
Reference in New Issue
Block a user