Vcl NextSuite 6 NextDBGrid6 Reference Classes TNxDataBinding NullText


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

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.


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).

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

Sign in