Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
CheckBoxColumn Events
posted

Is there a way to fire an event everytime a checkbox is checked or unchecked?

Thanks

Parents
  • 30945
    Suggested Answer
    Offline posted

    Hello,

     

    Another approach that you can use is to use a TemplateColumn instead and to add a CheckBox in its ItemTemplate. After doing so you will be able to handle the Checked and Unchecked events of the CheckBox. Here is an example for adding a TemplateColumn with an CheckBox in its ItemTemplate:

     

    <ig:XamGrid.Columns>
        <ig:TemplateColumn Key="IsChecked1">
            <ig:TemplateColumn.ItemTemplate>
                <DataTemplate>
                    <CheckBox IsChecked="{Binding IsChecked1}"
                                Checked="CheckBox_Checked"
                                Unchecked="CheckBox_Unchecked"/>
            </DataTemplate>
        </ig:TemplateColumn.ItemTemplate>
    </ig:TemplateColumn>
    

     

     

    If you have any further questions please do not hesitate to ask.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

     

     

Reply Children
No Data