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

silverlight 4 datagrid is readonly

0 Answers 29 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
f
Top achievements
Rank 1
f asked on 06 Jan 2011, 10:02 AM
 

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

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
f
Top achievements
Rank 1
Share this question
or