iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
This is a very simple question, but as usual the webgrid control does not make it easy to fathom out.
When i call the the method OnRowContextMenu, eg:
function OnRowContextMenu(controlId, rowType, rowElement, menuObject) {
// How do i get the rows keyvalue ID ??
window.alert(key);
return true;
}
How do i get the keyvalue of the row so i can customise the context menut to suit the data ?
Thanks
<script type="text/javascript" language="javascript"> function WebGrid1_OnRowContextMenu(controlId, rowType, rowElement, menuObject) { var WebGrid1 = ISGetObject(controlId); alert(rowElement.keyValue); return true; } </script>
Hope this helps.Regards,Hans.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname