GridNoRecords
A subclass of React.Component.
Represents the GridNoRecords component. The component is rendered when the data
property of the Grid is empty or null
.
class App extends React.Component {
render() {
return (
<Grid data={[]}>
<GridNoRecords>
There is no data available
</GridNoRecords>
<GridColumn field="id" />
<GridColumn field="name" />
</Grid>
);
}
}
ReactDOM.render(
<App />,
document.querySelector('my-app')
);
Name | Type | Default | Description |
---|---|---|---|
props |
|
The props of the GridNoRecords component. |