This content has been marked as final. Show 5 replies
I believe the click handler for the buttons inside the DataGrid can be set to a function outside the DataGrid with click="outerDocument.clickHandler(event)"
Thanks but calling a function / creating an event isn't the problem, at least I don't think it is. All I'm trying to do is to change the state. Here's what I'd like to do - from inside the itemRenderer tag (the component is a button):
Thanks Greg it's working perfectly ! I have to admit I feel a little dense right now.... I didn't realize that an itemRenderer component is sort of like creating an iFrame child page in HTML.
Thanks again, it's hard to believe the solution was so simple and yet I couldn't find it anywhere online!
"R1R 7humbs" <email@example.com> wrote in message
> Thanks Greag! I have to admit I feel a little dense right now.... I didn't
> realize that an itemRenderer component is sort of like creating an iFrame
> page in HTML.
> Thanks again, it's working perfectly now and i can't believe the solution
> so simple and i couldn't find it anywhere online!
Shame about that FAQ that gets posted here weekly ;-)