Detail Rows
In order to show row details we need to:
-
Add an expansion column (
columns) -
Tell the grid whether a row has a child details row (
getRowMeta) -
Choose whatever you want to render in this details row (
renderRowDetails) -
Pass in
rowStateandsetRowStateso that the grid knows whether to render a details row (expanded), and so our expansion column can toggle the expansion state.