Hi,
I've loaded a button in the CellTemplate of a GridTemplateColumn. The button has a Click event handler but it is not called when the button is first clicked. Instead the cell containing the button is activated (become selected) after the first click and then the Click event handler is called when the button is clicked again after the cell is activated. How do I enable the button to receive the first click event even when the cell is not activated? For example, the checkbox control of the GridCheckBoxColumn can be checked or unchecked on the first click even when the cell is not activated. I tried:
<syncfusion:GridTemplateColumn.CellTemplate>
<DataTemplate>
<Button syncfusion:VisualContainer.WantsMouseInput="True" Click="Button_Click"/>
</DataTemplate>
</syncfusion:GridTemplateColumn.CellTemplate>
Regards,
Sam