silverlight 4 datagrid is readonly

1 posts, 0 answers
  1. f
    f avatar
    6 posts
    Member since:
    Dec 2010

    Posted 06 Jan 2011 Link to this post

     

    silverlight 4 datagrid

     

    I am populating a datagrid as follows:

    gridDetails.ItemsSource = e.Result;

    where the e.result is of type list<className>
    The datagrid gets populated but I am unable to check or uncheck the checkbox column

    This is how the datagrid is populated:

    <datagrid>
    ...
    ...
    <data:DataGridCheckBoxColumn x:Name="LookedColumn" Header="Looked" Binding="{Binding Looked, Mode=TwoWay}"></data:DataGridCheckBoxColumn>

    The column cells seem to be readonly.

    1- Do you know I can make changes to the columns in the datagrid?

    2- And how do I find the cell value of say column 2 for the record that I have checked. Note that the checkbox column is in a different column.

    Thankyou

Back to Top