/// <summary> /// 添加单元格 /// </summary> /// <param name="columnIndex">列索引</param> /// <param name="cell">单元格</param> public void addCell(int columnIndex, FCGridCell cell) { cell.Grid = m_grid; cell.Column = m_grid.getColumn(columnIndex); cell.Row = this; m_cells.add(cell); cell.onAdd(); }
/// <summary> /// 添加单元格 /// </summary> /// <param name="columnName">列名</param> /// <param name="cell">单元格</param> public void addCell(String columnName, FCGridCell cell) { cell.Grid = m_grid; cell.Column = m_grid.getColumn(columnName); cell.Row = this; m_cells.add(cell); cell.onAdd(); }
/// <summary> /// 添加单元格 /// </summary> /// <param name="column">列索引</param> /// <param name="cell">单元格</param> public void addCell(FCGridColumn column, FCGridCell cell) { cell.Grid = m_grid; cell.Column = column; cell.Row = this; m_cells.add(cell); cell.onAdd(); }