Hello,I read another topic on these forums regarding a way to make certain cells read-only, which was to set the 'IsEnabled' property of the CellValuePresenter to false. However, when I do that there seems to be a gray rectangular border in the cell by default that I'm having trouble figuring out how to get rid of. Is there a simple way to do this or does it involve a lot of work-arounds to make it happen?I'm attaching a screenshot of what it looks like. Some of the cells in the first column will be disabled and should look just like the other columns (no gray border). Thanks in advance for any help you can provide!
Another way would be to cancel the EditModeStarting event by setting the e.Cancel = true for the specific cell.
Alex,While that's true (I tried it), there are a couple of problems with using that method:1) The first column is a numeric ID field. Since some of the cells in that field ARE editable, we have to use a XamComboEditor with the ItemsProvider property set (containing User Names) so that a valid user can be selected. Problem is, cancelling the EditModeStarting event doesn't prevent the ComboBox dropdown arrow from appearing (see image attachment).2) By cancelling EditModeStarting, the UI doesn't accurately reflect that the cell is not editable (i.e. graying out). However, I could live with that if #1 above were solveable.Any thoughts?