WPF DataGrid RowHeader databinding

前端 未结 6 2094
孤城傲影
孤城傲影 2020-12-05 13:17

I have a DataGrid, bound to a DataTable. I want to display text in the RowHeader, to achieve something like this:

         Col0      Col1      Col2      Col3         


        
6条回答
  •  孤街浪徒
    2020-12-05 14:11

    @michele: If I modify the Binding to:

     
    

    then it almost works. The problem is that this results in the same row header for each row.

提交回复
热议问题