I have a DataGrid where I am using ItemRenderers to render components like Images n Buttons within the Grid. Now, I need to pass parameters to a HTTPService on a button click. If the button is directly on the form (and not within the grid ), its easy to call HTTPService. But since the button is within a grid, it isnt able to resolve the HTTPService and so I cannot call the HTTPService on 'click' event of the button.
Let me know if someone can help.
You probably need to use click="outerDocument.myClickHandler()"
The outerDocument allows you to access methods outside the renderer.
If this post answered your question or helped, please mark it as such.
Atleast I dont see any errors after using outerDocument. Am yet to test it though. Never the less, thanks a lot.