SMART datagrid v.1 > Classes > DisplayOptions

[ grids ver.1.3.5]   Back  Forward

DataLudi.DisplayOptions.nanText  property

The string which will be displayed instead when the value of ValueType.NUMBER field is NaN

If set DataColumn.nanText, this property will be ignored. 

Defaults to null.

Getter
function nanText(): String
Setter
function setNanText(value: String)
Code -1
    grid.setOptions({
        display: {
            nanText : '-'
        }
    });
Code -2
    grid.setDisplayOptions({
        nanText: '-'
    });
Code -3
    grid.displayOptions().setNanText('-');
See Also
DataColumn.nanText
DataSet.nanValue
DataField.nanValue
Examples
Empty Value