通过如下代码设置单元格ComboBoxCellType,但是没有效果呢,ComboBoxCellType有下拉箭头,但是弹不开列表,是还需要开启其他属性开关吗 ,
orgSpread.ActiveSheetView.AddRows(0, 1);
string[] cbstr = new String[] { "支付记录号", "支付日期", "支付时间", "支付状态", "支付币种", "支付金额", "买家国别", "买家电子信箱", "物品名称" };
for (int j = 0; j < orgSpread.ActiveSheetView.ColumnCount; j++)
{
FarPoint.Web.Spread.ComboBoxCellType cmbbx = new FarPoint.Web.Spread.ComboBoxCellType(cbstr);
orgSpread.ActiveSheetView.Cells[0, j].CellType = cmbbx;
} |
|