1

In JExcel, you can do:

new Number(column,row,value)

but null is not an accepted value.

For labels, using null as a value is fine.

Is there a way to create a cell that is either a Number or null, without doing this logic manually, as in:

if (value != null) {
  return new Number(column, row, value)
} else {
  return new Label(column, row, null)
}
Jeremy
  • 5,365
  • 14
  • 51
  • 80
  • I had same problem recently and solved it in the same way. There may be a better way but google and API just claimed that JExcel is old :/ I'd also be happy to get some better way to do that – Michal Gruca Aug 22 '14 at 21:25

0 Answers0