We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

WPF GridDataControl CheckBox column

Thread ID:

Created:

Updated:

Platform:

Replies:

108117 Apr 4,2013 12:09 PM UTC Apr 11,2013 07:01 AM UTC WPF 2
loading
Tags: GridControl
Ivan Eryshov
Asked On April 4, 2013 12:09 PM UTC

I have a GridDataCheckBoxVisibleColumn in my GridDataControl. 

1. It should be two-state (true, false), but by default it is three-state. How to can I change this behaviour?

2. How can I update the state of an underlying row item immediately on the checkbox state change? I can subscribe CurrentCellChanged event and what next?

Thanks,
Ivan

Ivan Eryshov
Replied On April 4, 2013 12:16 PM UTC

Ok, found the answer on my first question in another thread: http://www.syncfusion.com/support/forums/grid-wpf/105695/problems-with-checkboxes-in-grid. But still need help with 2.

Thangapriya V [Syncfusion]
Replied On April 11, 2013 07:01 AM UTC

Hi Ivan,


We have analyzed your query 2. You can achieve your requirement by setting the UpdateMode API to PropertyChanged as follows.

Code snippet [XAML]:

  <syncfusion:GridDataControl x:Name="SyncGrid"   

                                    AutoPopulateColumns="False"

                                    ItemsSource="{Binding GDCSource}" UpdateMode="PropertyChanged" >

 

 

You can refer the following UG link for this.

http://help.syncfusion.com/ug/wpf/grid/default.htm#!Documents/updatemode.htm

Please let us know if you have any queries.


Regards,

Thangapriya


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;