I need to have a row below the name to display the units for each column.
If so how to do it programatically.
1 Answer, 1 is accepted
0
Veselin Vasilev
Telerik team
answered on 22 Nov 2010, 08:49 AM
Hi nduru,
The Header property of RadGridView is of type Object, so you can put anything in it.
For example you can place a stackpanel which contains two textboxes in it:
StackPanel sp = newStackPanel();
TextBox tb = newTextBox() { Text = "first tb"};
TextBox tb2 = newTextBox() { Text = "second tb"};
sp.Children.Add(tb);
sp.Children.Add(tb2);
this.clubsGrid.Columns[0].Header = sp;
Hope this helps.
Best wishes,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF