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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Checkbox column on Grid with selectionmode="none" isn't able to be clicked

Thread ID:





141938 Jan 11,2019 08:37 AM UTC Jan 16,2019 12:23 PM UTC WPF 3
Tags: SfDataGrid
Asked On January 11, 2019 08:37 AM UTC

i have  a GridCheckBoxColumn  but I don't want the grid to have the selecting cells thing - so I set that to "none", but now the checkbox is not able to be used.
Is there a way round this?
Thanks for any help!

Jagadeesan Pichaimuthu [Syncfusion]
Replied On January 14, 2019 08:21 AM UTC

Hi Tom, 
Thank you for contacting Syncfusion support. 
We have analyzed your query and we are able to reproduce the reported problem “GridCheckboxColumn checkbox not enabled when the SelectionMode is None” and this is the default behavior of SfDatagrid. 
And you can achieve your requirement with SelectionMode as single by using the below code snippets. 
<syncfusion:SfDataGrid x:Name="sfdatagrid" Grid.Column="0" 
                        ItemsSource="{Binding OrderDetails}"> 
public class GridCellSelectionControllerExt : GridCellSelectionController 
    public GridCellSelectionControllerExt(SfDataGrid dataGrid) : base(dataGrid) 
    protected override void ProcessPointerPressed(MouseButtonEventArgs args, RowColumnIndex rowColumnIndex) 
        var columnIndex = this.DataGrid.ResolveToGridVisibleColumnIndex(rowColumnIndex.ColumnIndex); 
        var column = this.DataGrid.Columns[columnIndex]; 
        if (column is GridCheckBoxColumn) 
            base.ProcessPointerPressed(args, rowColumnIndex); 
    protected override void ProcessKeyDown(KeyEventArgs args) 
Please find the sample from the below location. 

Replied On January 14, 2019 10:10 AM UTC

Thanks, yep that does the job.

Jayaleshwari N [Syncfusion]
Replied On January 16, 2019 12:23 PM UTC

Hi Tom, 
Thanks for the update. Please get in touch if you would require further assistance. 

Jayaleshwari N. 


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon