private Cell AddCell(int rowCount, string content = "") { Cell cell = new Cell(trColumn, JsonTable.CreateInstance(trColumn), rowCount, content); cells.Add(cell); return(cell); }
public Column(RectTransform container, string title) { cells = new List <Cell>(); lblHeader = JsonTable.CreateInstance(container); lblHeader.fontStyle = FontStyles.Bold; lblHeader.text = title; lblHeader.name = $"Column - {title}"; trColumn = lblHeader.GetComponent <RectTransform>(); }