API REFERENCE

emptyMessage

Message displayed when source data is empty.

What does this API do?

Message displayed when source data is empty.

Exact input and result types

typescript
emptyMessage: string
ItemValue
JavaScript nameemptyMessage
HTML attributeempty-message
Defaultundefined
Input typestring

Usage flow

Set this on a property of the Grid element. In HTML, you can also use the empty-message attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

Feature explanations and examples