Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
440
Disable cellselection completely
posted

Hello. Tried searching, but could not find a similar issue.

I have a XamDataGrid that shows the user lots of properties about a collection of objects, and the user should only be allowed to select an entire row(record), not a single cell.

I have set the datagrid's fieldlayout's fieldlayoutsettings to SelectionTypeRecord="Single" and SelectionTypeCell="None". And it works, when clicking a cell the entire record is selected. My "problem" is that even though the entire row is selected and not the cell, the cell still looks selected because it gets a black frame around it. This doesn't give me any functional problems, it just looks strange and may be confusing for my users.

Any ideas how to avoid the black frame?