We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Issue in Displaying the Context Menu..

Hai,

The attached sample project is the exact replica of our structure. We are facing issues in displaying the context menu.

In the attached sample Project grid, one column is green in colour to differentiate as a "TreeCell" Column.

First Issue: In the TreeCell Column

After when the screen get popuped, when we do a right click in the treecell column, no cell is selected and then first it firing the "TreeGridCell

OnMouseDown Event" and then firing the "BaseGrid Grid_MouseDown Event". Finally it displays the context menu.

1. When we do the right click in the TreeCell Column, the particular cell has to be selected and then it has to display the context menu.

Second Issue: Other than the TreeCell Column

When we do a right click first time, cell get selected and then it fires the "BaseGrid Grid_MouseDown Event". Finally it displays the context menu. Second

time if we do a right click at the bottom or zip zag, cell is not getting selected but displays the context menu. Third time when we do a right click, the

cell get selected and displays the context menu properly.

1. When we do the right click, the particular cell has to be selected and then it has to display the context menu.


Thanks & Regards,
Sathish.


TreeGridContextMenu.zip

1 Reply

SC Sathish Chandran September 15, 2006 11:35 AM UTC

Hai,

I forgot to add a point, we have used Grid_MouseDown event in the basegrid because we have implemented "Cell Range Update". Previously we have used GridCellClick but to do Range Update, Syncfusion people advised us to use Grid_MouseDown Event because to hold the range selection.

Thanks & Regards,
Sathish.

Loader.
Live Chat Icon For mobile
Up arrow icon