This question is locked. New answers and comments are not allowed.
Hello,
the RadDataGrid has a "Grouping UI" bar showed on the left side of the grid. When I drag'n'drop columns to that bar, the grouping occurs. The problem is that the displayed name of the column showed in that bar is the same as the property name (PropertyName). It should be the same as the column name that is displayed in the grid (Header). See XAML below:
The sample property name is "ColumnName1" and the associated header name is "Friendly Display Name 1". The latter is the properly displayed as a column header in a grid. But when I move that column (by drag'n'drop) to the "Grouping UI" bar, the name in that bar will be shown as "ColumnName1" instead of "Friendly Display Name 1". Is it possible to chagne that behavior? I don't want to show my C# code member names in the GUI.
Best regards,
Maciej GliĆski
the RadDataGrid has a "Grouping UI" bar showed on the left side of the grid. When I drag'n'drop columns to that bar, the grouping occurs. The problem is that the displayed name of the column showed in that bar is the same as the property name (PropertyName). It should be the same as the column name that is displayed in the grid (Header). See XAML below:
<Grid:RadDataGrid.Columns> <Grid:DataGridTextColumn PropertyName="ColumnName1" Header="Friendly Display Name 1"/> <Grid:DataGridTextColumn PropertyName="ColumnName2" Header="Friendly Display Name 2"/></Grid:RadDataGrid.Columns>The sample property name is "ColumnName1" and the associated header name is "Friendly Display Name 1". The latter is the properly displayed as a column header in a grid. But when I move that column (by drag'n'drop) to the "Grouping UI" bar, the name in that bar will be shown as "ColumnName1" instead of "Friendly Display Name 1". Is it possible to chagne that behavior? I don't want to show my C# code member names in the GUI.
Best regards,
Maciej GliĆski