in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

C1WebMenu context menu on C1WebGrid

Last post 06-13-2008 4:35 PM by C1_AndrewM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-27-2008 5:27 AM

    C1WebMenu context menu on C1WebGrid

    I want to use a C1WebMenu control to do a context menu on a C1WebGrid. I set the menu properties ContextControlId="C1WebGrid1" ContextMenu="Control" so when I right click on the grid the C1WebMenu opens and when I right click outside the grid the default context menu opens.

    My problem now is that I want to know what cell of the grid has been left clicked, I want to know the column index and the row index.

    Any idea ? Thanks

     

  • 06-13-2008 4:35 PM In reply to

    Re: C1WebMenu context menu on C1WebGrid

    Hello,
     
    You may refer the attached sample. It shows how to identify which cell the customer has clicked.
     
    Hope it helps.
     
    Regards
    -Andrwe
    <cristido> wrote in message news:202303@10.0.1.98...

    I want to use a C1WebMenu control to do a context menu on a C1WebGrid. I set the menu properties ContextControlId="C1WebGrid1" ContextMenu="Control" so when I right click on the grid the C1WebMenu opens and when I right click outside the grid the default context menu opens.

    My problem now is that I want to know what cell of the grid has been left clicked, I want to know the column index and the row index.

    Any idea ? Thanks

     



    http://helpcentral.componentone.com/cs/forums/p/74445/202303.aspx#202303

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.