GuiInterface.createGridFromJson
Creats a grid from a table/json
Kind: Function
Environments: Game
Game
guiInterface:createGridFromJson( gridName, index )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
gui |
GuiInterface | The Gui interface |
gridName |
string | The name of the grid |
index |
table | Grid data table { type=string, layout=string, itemWidth=integer, itemHeight=integer, itemCount=integer } |