Re: [flexcoders] avoid propagate event on itemrenderer to datagrid

2006-11-03 Thread Federico Ferri
try use event.stopPropagation(); there is also a event.stopImmediatePropagation(); i have the same thing, a datagrid with a checkbox, but with a big problem. when a change my datagrid.dataProvider all the rows in the datagrid are new, but the checkbox already checked remain in that state...

[flexcoders] avoid propagate event on itemrenderer to datagrid

2006-11-02 Thread Jesús Iglesias
Hi again, I have a datagrid with a checkbox as itemrenderer. Datagrid has a "change" event and checkbox has a click event. If I click on checkbox, I want to execute checkbox click event but NOT datagrid change event, but I don't know how to stop event propagation. Does anybody know?

RE: [flexcoders] avoid propagate event on itemrenderer to datagrid

2006-11-02 Thread Iko Knyphausen
I think you can check the event Objects target and currentTarget properties in your change event handler of the grid. If the event originated from the checkbox, you can ignore it... HTH Hi again, I have a datagrid with a checkbox as itemrenderer. Datagrid has a