Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Get ActiveCell and WebGrid from clientside CustomButtonPress event
posted

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.

Parents
No Data
Reply Children
No Data