Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to determine the clicked cell within the OnContextMenu client-side event

$
0
0

To obtain a clicked cell, you should handle the HtmlDataCellPrepared event and subscribe to the cell's oncontextmenu event.

Example Comments

Added By: Midhun Bezawada at: 2/5/2014 6:03:03 AM    

Thanks a lot it works for me but after i get values in method i am unable to call my context menu right-click client side function.
function OnContextMenu(s, e) {
                          hiddenfield.Set('VisibleIndex', parseInt(e.index));
            menu.ShowAtPos(e.htmlEvent.clientX, e.htmlEvent.clientY);
        }

after calling function that is specified i should be able to call function specified above.

Added By: Vladimir (DevExpress Support) at: 2/5/2014 8:29:38 AM    

Hello Midhun,

Our team is dedicated to addressing all your concerns. For quick and efficient responses, we kindly request you to post technical questions that are not directly related to the implementation of the example in separate tickets. Your time and cooperation are appreciated.

In order to better serve and track multiple questions in your inquiry, I have taken the liberty of separating the issue you addressed. Please refer to these ticket for further correspondence on these items:

i am unable to call my context menu right-click client side function


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>