How to combine some cells in a DataGrid as one cell?

Hello all: I want to combine the following cells as one cell:(1,1),(1,2),(2,1),(2,);I had tried many methods, but no one could work. Will you please help me? Thanks.

Loader.
Up arrow icon