Checkbox column behavior of nested datagrid

I have a custom not mapped bool property "IsChecked" in models binding to checkbox column.
The first nested table works fine, the next one automatically collapses when you click on the checkbox.
How to prevent table collapse?
Gif Sample

PS: Why is it impossible to upload a GIF directly to a message? the file size is 1.9 mb, 4 mb is allowed, but the message "the file is too large" still appears