You can prevent selection when right clicking in SfDataGrid by customizing the SelectionController and overriding the ProcessPointerPressed.
Refer the below code example in which the row selection for SfDataGrid is skipped when the IsRightButtonPressed property is true.
2X faster development
This page will automatically be redirected to the sign-in page in 10 seconds.
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.