Example #1
0
    public void renderCell(LineData.ShowCellData showData)
    {
        LineData.ShowCellData scd = showData;
        if (scd.Item == null)
        {
            scd.Item = itemTemplate.findItem(scd.nType);
            scd.Item.transform.SetParent(content);
            scd.Item.SetActive(true);
        }
        scd.renderPos();
        GridDataSource gds = dataLocator.source[scd.dataIndex];

        scd.render(gds);
    }