Forum Discussion
christopher_gillis
8 years agoCommunity Manager
Hi Michelle,
The grid event arguments expect to be given only the names of the functions that should run when that event is triggered. Because of this you should leave off the parentheses that come after the function name as seen in the sample below.
clientControlsFactory.createControl(“Aras.Client.Controls.Public.GridContainer”, connectNode: virtualGridNode, function(control) {
grid = gridApplet = control;
clientControlsFactory.on(grid, {
“gridDoubleClick”: onDoubleClick
});
});
Please let me know if updating your code to match the above sample resolves this issue for you.
Chris
_______________________________________
Christopher Gillis
Aras Labs Software Engineer