Hi all,
I am using XamWebGrid v10.1 in a View;
I want to connect mouse events to my view model;
This is what I do:
<igGrid:XamWebGrid x:Name="customGrid" AutoGenerateColumns="False" ItemsSource="{Binding GridDataCollection}"> <Interactivity:Interaction.Triggers> <Interactivity:EventTrigger EventName="CellDoubleClicked"> <TriggerActions:MapMouseEventToCommand Command="{Binding Path=MouseCellDoubleClickedCommand}" /> </Interactivity:EventTrigger> </Interactivity:Interaction.Triggers> </igGrid:XamWebGrid>
This approach works, but on my ViewModel's end, the EventArgs is null, so I can't really use this !
The sender is sent properly;
This is very important for me, so could you please tell me of a way that I can connect the grid's mouse events to my ViewModel?
Do I need to use updated control, newer version?
Thank you in advance
I found a solution...