Posted 26 March 2020, 8:13 am EST
Hello!
I need to use the value of a combo box cell in another cell’s formula. More specifically if the combo box has value x I need to set a checkbox cell.
FarPoint.Web.Spread.ComboBoxCellType cbo = new FarPoint.Web.Spread.ComboBoxCellType();
cbo.DataSource = some data source...;
cbo.DataValueField = "Id";
cbo.DataTextField = "Text";
cbo.ShowButton = true;
sheet.Cells[row, col].Formula = "IF(A1 = 1, true, false)";