This is a migrated thread and some comments may be shown as answers.

[Solved] Unable to edit cell

1 Answer 131 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sukhvinder Pal
Top achievements
Rank 1
Sukhvinder Pal asked on 15 Sep 2009, 07:50 AM
I am unable to do cell editing in the following. What could be the probable cause? Templates is an observable collection of TemplateSets which has Product as a property.
<Grid x:Name="LayoutRoot">
      <Grid.Resources>
            <DataTemplate x:Key="TemplateSetDetails">
                <local:TemplatesetDetails/>
            </DataTemplate>
            <Style x:Key="MyHeaderRowStyle" TargetType="grid:GridViewHeaderRow">
                <Setter Property="Height" Value="20" />
            </Style>
            <Style x:Key="MyRowStyle" TargetType="grid:GridViewRow">
                <Setter Property="MinHeight" Value="20" />
            </Style>
        </Grid.Resources>

        <controls:RadGridView Name="radGridView" Margin="10,0,0,0"
      RowDetailsVisibilityMode="VisibleWhenSelected"
              RowDetailsTemplate="{StaticResource TemplateSetDetails}"
      ColumnsWidthMode="Fill" AutoGenerateColumns="False" 
      ScrollMode="RealTime" IsReadOnly="False"
              HeaderRowStyle="{StaticResource MyHeaderRowStyle}" RowStyle="{StaticResource MyRowStyle}"
      HorizontalAlignment="Left" RowIndicatorVisibility="Collapsed" MultipleSelect="False"
              ItemsSource="{Binding Templates.Product}"
              CanUserSortColumns="True"
               >
            <controls:RadGridView.Columns>
                <controls:GridViewDataColumn UniqueName="Product.ProductName" Header="Template Set Name" IsReadOnly="False"/>
                <controls:GridViewDataColumn UniqueName="Product.ReferenceNumber" Header="Product Reference Number" IsReadOnly="False"/>
                <controls:GridViewDataColumn UniqueName="Product.BasePrice" Header="Price" IsReadOnly="False"/>
                <controls:GridViewDataColumn UniqueName="Product.Description" Header="Description" IsReadOnly="False"/>
            </controls:RadGridView.Columns>
        </controls:RadGridView>
  </Grid>

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 15 Sep 2009, 08:09 AM
Hello,

There was a bug with nested properties which is fixed in our latest internal build.

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Sukhvinder Pal
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or