Official documentation regarding Master-Detail Grids states:
"To apply a hierarchical order to the desired records, use the detail property of the master Grid". Would it be possible to define detail component in declarative way as we do for GridNoRecords for example to pass it any props?
<Grid
style={{ height: '550px' }}
data={this.state.categories}
expandField="expanded"
onExpandChange={this.expandChange}
>
<Column field="CategoryID" title="ID" width="50px" />
<Column field="CategoryName" width="200px" title="Category Name" />
<Column field="Description" />
<DetailRow>
<DetailComponent />
</DetailRow>
</Grid>
"To apply a hierarchical order to the desired records, use the detail property of the master Grid". Would it be possible to define detail component in declarative way as we do for GridNoRecords for example to pass it any props?
<Grid
style={{ height: '550px' }}
data={this.state.categories}
expandField="expanded"
onExpandChange={this.expandChange}
>
<Column field="CategoryID" title="ID" width="50px" />
<Column field="CategoryName" width="200px" title="Category Name" />
<Column field="Description" />
<DetailRow>
<DetailComponent />
</DetailRow>
</Grid>