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

Custom SelectionController breaks SelectCell usage

Thread ID:





119219 May 24,2015 06:10 PM UTC May 26,2015 04:58 PM UTC WPF 3
Tags: SfDataGrid
Asked On May 24, 2015 06:10 PM UTC

If I extend GridSelectionController (even without overriding any method), using SelectCell causes a NullReferenceException.

Will attach a test project if needed.

Muthukumar Kalyanasundaram [Syncfusion]
Replied On May 25, 2015 01:39 PM UTC

Hi Yogesh,

Thank you for using Syncfusion products.

We analyzed your query.Please ensure, you are overriding correct selection controller based on SfDataGrid.SelectionUnit. Please refer the below table,


SelectionController to override



Cell or Any


If you are facing the mentioned issue after overriding right selection controller also then please update us with sample to provide better solution.


Muthukumar K

Replied On May 25, 2015 06:42 PM UTC

Thanks a lot. I was using GridSelectionController instead of GridCellSelectionController. That fixed it.

I have one more query. If I use a GridNumericColumn cell in the grid, a return/enter key never executes either of the ProcessKeyDown or HandleKeyDown methods but every other key like Esc or Tab does. How can I fix that?

Muthukumar Kalyanasundaram [Syncfusion]
Replied On May 26, 2015 04:58 PM UTC

Hi Yogesh,

Thanks for the update.

We have analyzed your query but we are unable to reproduce the reported issue with "enter key never executes either of the ProcessKeyDown/HandleKeyDown methods" at our end. For your reference,please review our sample below.Please modify this sample to show the issue being reproduced and send it back to us. This will help us proceed with the solution.



Muthukumar K


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