I had a similar design issue. The way I solved my problem was: 1. Allow for multiple-selects/edits, so I can edit more than one row at once. This involved some code to compare the data between the selectedIndices. I have checkboxes next to each input control which have their visibility determined by the number of selectedIndices. 2. If the user starts to edit some data in the bottom inputs, then selects a different row, a popup box is show which confirms the selection change (and loss of edited data).
I wish I could show my app as an example but unfortunately it's not yet ready for public consumption. Cheers, Adam ----- Original Message ----- From: not_a_coop To: [email protected] Sent: Friday, March 23, 2007 11:34 PM Subject: [flexcoders] Disabling items in a DataGrid There may be a better way to achieve what I'm trying to do, I'm open to any suggestions. I have a DataGrid with a few columns showing basic information. When an item in the DataGrid is clicked, I would like a panel to drop down so that users have access to more detailed information that they can view modify. I would basically like selected item in the DataGrid to appear as a "header" for this panel, and all other items to be disabled so that the user can not select more than one item at a time. I have tried to achieve this by displaying the panel when an item is clicked and then disabling the entire DataGrid. However, I can find no way to change the style of the selected row when the DataGrid is disabled. It shows with a gray background and white text which does not achieve the effect I'm going for. Any suggestions on a better way to handle this or a way to skin the selected item for a disabled DataGrid?

