Search code examples
wpfdatagriddatagridrowheader

DataGrid row headers on right side of DataGrid


Is it possible to have the row headers of a DataGrid appear on the right side of the grid? I tried to find some control templates for DataGrid but none of them allows to change the position of the row headers. Thank you

Edit: in pictures, I want to turn this

enter image description here

into this

enter image description here


Solution

  • Not an ideal solution but a workaround, I ended up adding a column, binding it to whatever I want to put in the row header and style it to look like a row headers column.