The screenshot you've shown looks like HTML to me, so obviously not a real 
DataGrid in the Flex sense. With Flex you can make the DataGrid "editable" so 
that each cell can view individually selected and edited. If that is what you 
want to accomplish then read the chapter on ItemRenderers and ItemEditors, it 
should help you. 
 
If it is more complex than that, they I saw place a form at the bottom of the 
grid that gets shown when the user selected a row. If you do the overlay like 
some people suggest, just be careful cause the overlayed component will hide 
some rows.
 
Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.
 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wwaishan
Sent: Wednesday, February 06, 2008 2:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Datagrid: how to inline edit entire row



Hi. I'm new to Flex.  This is what I would like to have but haven't figured out 
how to implement yet:

In my data grid, when the user clicks on a row, the entire row becomes visually 
editable, not just the cell that was clicked.  Within this "edit form", there 
will be other controls like another text input field and Save and Cancel 
buttons.

So I'm asking for a few things.
1. How do I make the entire row visually editable, not just the clicked cell?
2. How do I add other controls to this edit form (like Save/Cancel buttons)?  
These additional controls would be contained within the same row.

I found this screenshot that looks very much to what I'm asking for:
http://www.vitalist.com/neteffect/wp-content/images/cobra-preview-3.gif 
<http://www.vitalist.com/neteffect/wp-content/images/cobra-preview-3.gif>  

I searched online but was unable to find a solution.  Any suggestions would be 
appreciated.  
Thanks. 

 

-- 
WARNING
-------
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--------------
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.

Reply via email to