my code catches the cell_clicked event and displays context menu to the user
private void grdViewData_CellClick(object sender, Syncfusion.Windows.Forms.Grid.GridCellClickEventArgs e)
{
//right click, display context menu
if(e.MouseEventArgs.Button.Equals(MouseButtons.Right) && this.grdViewData.CurrentCell.RowIndex>0)
{
}
}
it goes fine when the cell is not activated and the first click on a cell is a right click
but if the user first gives a left click, gets the cell activated then gives a right click, this event is not raised, which means the context menu is nopt displayed, why is that and how do i fix it?
thanks in advance!