View Full Version : How to call function from a custom module in a grid?

10-02-2009, 04:27 PM
I have a module with an advanced data grid in it. One of the columns of this grid has an itemRenderer="myCustom"

MyCustom is a separate MXML Module. In this module, I have defined a vBox with 2 buttons. In the click event of the button how can I call a custom function that is defined in the parent module? click="myCustomFuction()" doesn't work and I get an 1180 warning . I'm thinking something like click="this.parent.myCustomFunction()" but I don't know the proper syntax.