Rabu, 25 Agustus 2010
Synchronizing group row headers with column headers in Silverlight DataGrid
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
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar