I have an Infragistics Xamgrid which holds rows (records) of numbers.A right-click anywhere on the grid will open a context menu with simple copy, paste, and selection options.However, with popping up the context menu, the right-click also selects/ highlights the entire row containing the cell(s) on which the context menu was invoked.Ex: Suppose my XamGrid has 4 rows (records)
The first row contains cell values 100-130I select two cells say with values 102 and 103 and right clickThis operation invokes the context menu as desired but also highlights the entire row (record) containing the selected cells 102,103What I want to achieve:On right-click, I want the context menu to pop up as it is, and I want only the selected cells to be highlighted rather than the entire row (record) containing the selected cells.
Hello Evita,
I have been investigating into the behavior you are seeing, but at the moment, I have not been able to reproduce this. Would it be possible for you to please provide an isolated sample project or the sample markup that you are using for the XamGrid so I may reproduce this behavior on my end and provide guidance?
As an aside, if possible, I would recommend migrating to the XamDataGrid control. The XamGrid control has been retired and obsolete in the Infragistics for WPF toolset for a few years at the time of writing this. The XamGrid will not be receiving any future development or maintenance / bug fixes. If you have questions about migration between the XamGrid and XamDataGrid, I would recommend taking a look at this documentation: https://ko.infragistics.com/help/wpf/xamdatagrid-migration-guide.