Hi,
I would like to set the same background color of the expanded content and the row itself.
I noticed that the <tr> tag of the content has class rz-expanded-row-content and is inserted right below the <tr> of the row that has simply class rz-datatable-even or rz-datatable-odd so I cannot figure out a way to tweak this behavior.
You can use RowExpand event to catch expanded item(s) and use later RowRender event to set conditionally style/class depending on saved item(s) in RoeExpand.
So, essentially on Expand/Collapse I update a list of expanded items and then on render I attach a class if the row is expanded.
I guess that with a lot of rows and with ExpandMode DataGridExpandMode.Multiple my solution may be not performant enough, but I'm using DataGridExpandMode.Single so it should be enough.