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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SFCellGrid - CheckBox CellType

Thread ID:





132541 Sep 7,2017 12:11 PM UTC Sep 8,2017 01:29 PM UTC UWP 1
Tags: SfCellGrid
Murat Gürer
Asked On September 7, 2017 12:11 PM UTC

1 - When I set the CellType info of a cell to "CheckBox",CurrentCellBeginEdit or related events are not triggered after the checkbox state is changed by client interactions on UI. Am I missing something?
2 - How can I reset the checkbox state after changing the CellValue. The checkbox state remains still although I invalidate the cell.
Thanks in advance.

Thirumurugan Loganathan [Syncfusion]
Replied On September 8, 2017 01:29 PM UTC

Hi Murat, 
Query 1: CurrentCellBeginEdit event not triggered for the checkbox cell type. 
CurrentCellBeginEdit event is not triggered for checkbox cell type and this is the behavior of the SfCellGrid. However CurrentCellValueChanged event of SfCellGrid will be fired when the checkbox state is changed by an user action. 
grid.CurrentCellValueChanged += Grid_CurrentCellValueChanged; 
private void Grid_CurrentCellValueChanged(object sender, Syncfusion.UI.Xaml.CellGrid.Helpers.CurrentCellValueChangedEventArgs e) 
            var checkbox = grid.CurrentCell.Style.CellRenderer.CurrentCellRendererElement as CheckBox; 
            if (checkbox is CheckBox) 
                     var State = checkbox.IsChecked; 
Query 2: Checkbox state not updated after change the cell value. 
We can able to reproduce the reported issue “checkbox state not updated when change the cell value at runtime”. So separate incident has been created under your account. Please log into the below link for further updates. 


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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