I use this trick to successfully update the IsSelected property of my rows' viewmodels:
SelectionMode is set to Extended. My RadGridView contains some 1000 rows. I do the following:
1) Select the first row.
2) Scroll down to the last row.
3) Press Shift and select the last row.
All rows are selected, but the IsSelected property is updated only on visible rows (around 20)! What am I doing wrong?
Please help! This bug is crucial in our software!
<
Style
TargetType
=
"telerik:GridViewRow"
BasedOn
=
"{StaticResource GridViewRowStyle}"
>
<
Setter
Property
=
"IsSelected"
Value
=
"{Binding IsSelected, Mode=TwoWay}"
/>
</
Style
>
SelectionMode is set to Extended. My RadGridView contains some 1000 rows. I do the following:
1) Select the first row.
2) Scroll down to the last row.
3) Press Shift and select the last row.
All rows are selected, but the IsSelected property is updated only on visible rows (around 20)! What am I doing wrong?
Please help! This bug is crucial in our software!