internal GridOilCellGroup(GridOilColumnGroup column, int rowIndex, IOilDataEntity dataEntity = null) { Column = column; RowIndex = rowIndex; LabCell = new GridOilCellItem(this, GridOilColumnType.Lab); CalcCell = new GridOilCellItem(this, GridOilColumnType.Calc); _dataEntity = dataEntity; //SetDataEntity(dataEntity); }
public void SetDataEntity(IOilDataEntity dataEntity) { LabCell.Value2 = dataEntity != null ? dataEntity.labData : null; CalcCell.Value2 = dataEntity != null ? dataEntity.calData : null; }