data.getGridColsCount
Get the number columns in a 2D array (grid).
grid 2D array (in format [yRow][xCol])
colsCount integer
local cells = data.createGrid()
data.setCell(cells, 3, 9, "Hello")
data.setCell(cells, 4, 9, "World")
local colsCount = data.getGridColsCount(cells)
print("Columns count: " .. colsCount)
Generated on the 26 June 2024 at 22:01:28 (UK Time)