.NET Framework 版本:4.0.30319.42000
Foxtable 版本:2022.8.18.1
错误所在事件:表,预计总成本,DrawCell
详细错误信息:
调用的目标发生了异常。
列“综合单价_盈亏”为只读。
列“综合单价_盈亏”是表达式列
DrawCell代码如下:
If e.Col.IsNumeric = True Then
If e.Row(e.Col.name) = 0 Then
e.Row(e.Col.name) = Nothing
End If
End If
我想实现的是,当为0 时,表上不显示内容
If e.Col.IsNumeric = True Then
If e.Row(e.Col.name) = 0 Then
e.text = ""
End If
End If