Library Vcl NextSuite 6 NextDBGrid6 Reference Classes TNxDataBinding NullText

NullText

Specifies text to be displayed inside cell if value of Field is null.

pas
published
  property NullText: WideString read FNullText write SetNullText;

By default fields with NULL value are painted as an empty cell. Setting this property can emphasise these fields.

Remarks

This property shouldn't be confused with EmptyCaption property, because EmptyCaption is used if value is not NULL and value considered "as empty" (which can be specified via property).

pas
NxDBTextColumn61.EmptyCaption := 'empty';
NxDBTextColumn61.DataBinding.NullText := 'NULL';

Files

Sign in