You could try an event.preventDefault(); you would have to be able to identify the event to know if you want it to pass or not.
jason -----Message d'origine----- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de pdflibpilot Envoyé : mercredi 10 janvier 2007 14:22 À : flexcoders@yahoogroups.com Objet : [flexcoders] Prevent DataGrid itemClick event from launching with header click I have a dataGrid that I have set an itemClick event to launch a popup canvas as an editor for the line item clicked. The dataGrid is set to "editable" but each column is set to noneditable to prevent the cell from being edited directly. Everything works well for the editing the line items however if I click on a column header to sort it also launchs my itemClick event (editor). How can I prevent this ?? Not having much luck trapping the event source since both header clicks and line item clicks return the same event.target.