I am trying to have a checkbox int he header of the grid which will have descendents as checkbox helped to select rows and the checkbox in the header will be responsible for selecting all the rows at a time.
I want to raise an event or property changed when the select all checkbox is checked. This should be handled using MVVM.
The code is herein,
I have set the datacontext to the viewmodel class using DI Locator Class. The grid is having itemssource property set to a collection in the view model.
Please revert.
I want to raise an event or property changed when the select all checkbox is checked. This should be handled using MVVM.
The code is herein,
<
telerik:GridViewColumn
IsReadOnly
=
"False"
UniqueName
=
"Select"
IsVisible
=
"True"
>
<
telerik:GridViewColumn.Header
>
<
CheckBox
x:Name
=
"chkSelectHeader"
/>
</
telerik:GridViewColumn.Header
>
I have set the datacontext to the viewmodel class using DI Locator Class. The grid is having itemssource property set to a collection in the view model.
Please revert.