pub fn materialize_collapsed_table_grid( table: &TableNode, ) -> Result<Option<TableNode>, String>
Materialize a validated physical grid before committing a structural edit.