or
| <telerik:RadGridView.Resources> |
| <ControlTemplate x:Key="cellTemplate1" TargetType="{x:Type telerik:GridViewCell}"> |
| <RadioButton IsChecked="{Binding Field.Record.Data.RB, RelativeSource={RelativeSource TemplatedParent}}" |
| HorizontalAlignment="Center" VerticalAlignment="Center" /> |
| </ControlTemplate> |
| <Style x:Key="RBbooleanCellStyle"> |
| <Setter Property="telerik:GridViewCell.Template" Value="{StaticResource cellTemplate1}" /> |
| </Style> |
| </telerik:RadGridView.Resources> |
| private void GridViewGroupRow_Loaded(object sender, RoutedEventArgs args) { GridViewGroupRow groupRow = (GridViewGroupRow)args.OriginalSource; groupRow.IsExpanded = false; } private void HeaderButton_Click(object sender, RoutedEventArgs e) { FrameworkElement element = (FrameworkElement)sender; var row = element.GetVisualParent<GridViewRow>(); row.IsSelected = true; } |
Hello,
I know how to create a combobox column and fill it with value, however
each combobox cell in the column does not show the drop down arrow, unless
the user clicks on the cell.
I tries using a combobox template on the column and visually it works, however when I do so
the combobox's possible values are not displayed in its drop down.
Hope you can assist.
Erez
RGVBBoxRecords.Columns[idx].HeaderText = headerstr[idx];
or
RGVBBoxRecords.Columns[idx].Header = headerstr[idx];
but nothing changes.
How to do it?