Hello
To get the activecell and the webgrid a texteditor belongs to, I'm using the following code now :
function evtLookupClick(oEdit, text, oEvent) { debugger; var cell = oEdit.webGrid.oActiveCell; var component = oEdit.webGrid; if (component && cell) { ... } }
Is there a better way to get this working ? Since the webGrid property of the oEdit object is nowhere documented.
To get a WebGrid you can use the function
igtbl_getGridById ( gridId ) ;
To get the activeCell off the grid call
oGrid.getActiveCell();