You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
Pages: 1
表格里的负数导出Excel时,虽然实际值也是负数,但是显示的是正数。
能不能直接导出Excel负数看到的直接就是负数。
Offline
试了一下没能再现。那个单元格有Data Format设置么?如果有请贴一点代码。
Offline
RangePosition AmountRange = new RangePosition(4, 2, this.sheet.RowCount - 3, this.sheet.ColumnCount - 3);
sheet.SetRangeDataFormat(AmountRange, CellDataFormatFlag.Number,
new unvell.ReoGrid.DataFormat.NumberDataFormatter.NumberFormatArgs
{
DecimalPlaces = 2,
UseSeparator = true
});
Offline
能给出vb.net代码吗?
Offline
Pages: 1