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
225
Rowclick & CellClick tracking
posted

I am using Xamdatagrid. Here I have senario, where if I click on grid row, I have to redirect to Details page; and, if I click on particular cell which has text 'Incomplete' then I have to redirect to reports page.

I am using PreviewMouseLeftButtonDown event, for tracking if the cell with 'incomplete'is clicked.
For the Row click, I have binded property of ICollectionView, and on EventHandler CurrentChanged, the row click is handled.

So I have 2 senario's, row click & cell click, I have been using PreviewMouseLeftButtonDown to check for the cell click. But then the rowclick does not occur.

Please, let me know the right approach, also can you suggest some alternate event for PreviewMouseLeftButtonDown.

Parents
No Data
Reply Children
No Data