We are using a xamDataGrid (v12.2) and would like both the row and column to be highlighted when the user hovers over a cell in the grid. The row highlighting is already built-in but I’ve been unable to figure out how to do this for the column. Either highlighting the entire column or just the header would be sufficient.
Thanks
HI,
I am attaching a sample that highlights the cells in a column when a hover occurs.
Sincerely,
Matt
Developer Support Engineer
Hi Matt,
Thank you for your sample solution. This is exactly what I am trying to do. I was hoping there would be a simpler approach although I was wondering if it was going to be something like this.
I am having issues getting it to work in my solution though. I cannot create an instance of “VM” in my XAML. I believe this is because I need to pass a parameter to my ViewModel before I bind to it. If I didn’t want to reference my ViewModel in my XAML how could I adjust this solution to accommodate that. I am currently unable to pass the actual Field Name through to the Converter.
Also, we are going to end up with 200-300 columns (with about 40 ever being visible at a time) . Is there going to be performance issues trying to highlight a column on hover doing it this way?