:: Forum >> Version 2 >>

Suppress #ERR if cell is empty

More information on this topic is available in the documentation section: /aw.ui.grid/cell-format.html.

Hi,
I am using AW.Formats.Date for some columns with date values:

var dateLong = new AW.Formats.Date;
dateLong.setDataFormat("ISO8601");
dateLong.setTextFormat("mm-dd-yyyy");

If a cell is empty (e.g. the end date is not set) I get an #ERR instead of an empty cell.

Can I suppress this?

Thanks in advance.
A. Dent
Monday, November 10, 2008
OK, I found something that seems to work for me:

date.setErrorText("");
date.setErrorValue(0);

A. Dent
Monday, November 10, 2008



This topic is archived.

Back to /aw.ui.grid/cell-format.html

Documentation:

Forum search