API REFERENCE
loading
Displays app data-request progress. Clear it after both success and failure.
What does this API do?
Displays app data-request progress. Clear it after both success and failure.
Exact input and result types
loading: boolean| Item | Value |
|---|---|
| JavaScript name | loading |
| HTML attribute | loading |
| Default | false |
| Input type | boolean |
Usage flow
Set this on a property of the Grid element. In HTML, you can also use the loading attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Feature explanations and examples
- Loading and empty results
Loading and empty-data messages explain why the table has no visible content. Pending requests, no results, and failures are distinct states and should not share one empty screen.