It's been a while, but it looks like cellPress is guaranteed before cellFocusIn when you click on a cell to start editing. You won't get cellPress when tabbing to the next cell.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chilcoat, Dee Sent: Friday, September 05, 2008 11:03 AM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] RE: Datagrid: cellPress vs. cellEdit Yes, we are on an old version of Flex, 1.5. We are trying to get an application implemented that has been in development for years. After we get the app implemented (soon, I hope), we will look at upgrading. I put some displays in the mxml and found out that the the cellpress event is fired before the cellFocusIn event when focus is gained on a cell. Can I depend on that fact? Or, could the cellFocusIn event be fired first? Can I determine whether or not the clicked portion of the DataGrid is editable? On a different subject, to upgrade, should we upgrade to Flex 2, or directly to the latest version? I appreciate your help! Dee A. Chilcoat Enterprise Web Application Development University of California San Diego [EMAIL PROTECTED] (858) 534-0719 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Tuesday, September 02, 2008 9:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] RE: Datagrid: cellPress vs. cellEdit Which version of Flex are you using? That's pretty old stuff that I'd have to dig through layers of dust to get an answer. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chilcoat, Dee Sent: Tuesday, September 02, 2008 4:16 PM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] Datagrid: cellPress vs. cellEdit I have looked through the documentation, and have not found an answer to the following: Are cellPress and cellEdit events mutually exclusive? In other words, if the cellPress event is fired, can I assume that an un-editable portion of the DataGrid has been clicked? If the answer is that they are not mutually exclusive, how can I determine whether or not the clicked portion of the DataGrid is editable? Any help will be appreciated. Dee A. Chilcoat Enterprise Web Application Development University of California San Diego [EMAIL PROTECTED] (858) 534-0719