Hi everyone,
First of all, I'd like to apologize if this isn't the correct forum for Silverlight posts, but I couldn't seem to find the right one.
I have a DataGrid with a set af TemplateColumns, and what I basically want to do is create "links" inside each of these. Now this is pretty easy to achieve, but my problem is that the DataGrid selects a row, and a cell when the user clicks them - which is not the functionality I want.
One might argue that the DataGrid isn't the control I should be using, however, I do need the sorting and columnresizing features etc. so I don't really know of a viable alternative.
I've tried hacking my way out of it by setting the SelectedItem property to Null on the SelectionChanged event. This works for the row selection, however cells still get selected.
Is there any way to disable cellselection, without having to use the VSM and setting a style for the Row itself when a cell is selected(Setting the border opacity to 0) - so far this is the only solution I've seen, and I don't care much for it...
Thanks in advance.


Reply With Quote

although I'm quite sure it won't work in Silverlight, I'm gonna check it out later this afternoon(I'm not even sure Silverlight has the listview control)