Grouping in the DataGrid in Silverlight is quite easy. What is not so obvious is how to change the caption of the column name on the group row. It turns out that you could use the LoadingRowGroup of the DataGrid: theGrid.LoadingRowGroup += (s, e) =>{ e.RowGroupHeader.PropertyName = "A custom caption";}The original value of the e.RowGroupHeader.PropertyName is the PropertyName of the
Tidak ada komentar:
Posting Komentar