Re: [flexcoders] DataGridColumn visibility problem. It appears again when dataProvider is replaced
If I'm not wrong that is a bug in 2.0.1 (it was not in 2.0)... 2007/3/9, Sergey Kovalyov [EMAIL PROTECTED]: Hi All! I have a DataGrid and its dataProvider property is binded to ArrayCollection. When I first hide one column via firstColumn.visible = false and then binding executes, that column appears again. How to prevent this unnecessary appearance? Click Hide Middle Name and then Populate in this example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=onCreationComplete() mx:Script ![CDATA[ *import* mx.collections.ArrayCollection; [ *Bindable*] *protected* *var* users : ArrayCollection; *protected* *function* onCreationComplete() : * void* { users = *new* ArrayCollection(); users.addItem({firstName : *George*, middleName : *W* , lastName : *Bush*}); } *protected* *function* onPopulateButtonClick() : * void* { users = *new* ArrayCollection(); users.addItem({firstName : *Victor*, middleName : *A* , lastName : *Yuschenko*}); } ]] /mx:Script mx:DataGrid dataProvider={users} mx:columns mx:DataGridColumn id=firstNameDataGridColumn dataField= firstName headerText=First Name / mx:DataGridColumn id=middleNameDataGridColumn dataField= middleName headerText=Middle Name / mx:DataGridColumn id=lastNameDataGridColumn* * dataField=lastName headerText=Last Name / /mx:columns /mx:DataGrid mx:Button label=Hide Middle Name** click= middleNameDataGridColumn.visible = *false* / mx:Button label=Populate click=onPopulateButtonClick() / /mx:Application Sergey. -- ::| Carlos Rovira ::| http://www.carlosrovira.com ::| http://www.madeinflex.com
Re: [flexcoders] DataGridColumn visibility problem. It appears again when dataProvider is replaced
Any known workarounds? :) On 09 Mar 2007 02:28:17 -0800, Carlos Rovira [EMAIL PROTECTED] wrote: If I'm not wrong that is a bug in 2.0.1 (it was not in 2.0)... .
Re: [flexcoders] DataGridColumn visibility problem. It appears again when dataProvider is replaced
Sergey Kovalyov a écrit : Any known workarounds? :) Hi, for me the workaround is to stay in 2.0.0 What are doing Adobe for this ? Is there a way to submit bug ? Mika
RE: [flexcoders] DataGridColumn visibility problem. It appears again when dataProvider is replaced
Instead of hidding/showing columns, give the DG only the columns u want to appear at any one time. Dimitrios Gianninas Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sergey Kovalyov Sent: Friday, March 09, 2007 5:43 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DataGridColumn visibility problem. It appears again when dataProvider is replaced Any known workarounds? :) On 09 Mar 2007 02:28:17 -0800, Carlos Rovira [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: If I'm not wrong that is a bug in 2.0.1 (it was not in 2.0)... . -- 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.
Re: [flexcoders] DataGridColumn visibility problem. It appears again when dataProvider is replaced
On Friday 09 Mar 2007, Mickael RUELLAN wrote: What are doing Adobe for this ? Is there a way to submit bug ? adobe.com/go/wish -- Tom Chiverton Helping to continually grow frictionless paradigms On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] DataGridColumn visibility problem. It appears again when dataProvider is replaced
There's been a bug filed, and an update is expected to be available soon (hopefully a week or two). -Alex -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, March 09, 2007 6:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DataGridColumn visibility problem. It appears again when dataProvider is replaced On Friday 09 Mar 2007, Mickael RUELLAN wrote: What are doing Adobe for this ? Is there a way to submit bug ? adobe.com/go/wish -- Tom Chiverton Helping to continually grow frictionless paradigms On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
Re: [flexcoders] DataGridColumn visibility problem. It appears again when dataProvider is replaced
I use users.removeAll() and then populate users with new data using addItem() method in the loop now. It works. :) On 09 Mar 2007 09:16:12 -0800, Alex Harui [EMAIL PROTECTED] wrote: There's been a bug filed, and an update is expected to be available soon (hopefully a week or two). -Alex -Original Message- From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of Tom Chiverton Sent: Friday, March 09, 2007 6:37 AM To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: Re: [flexcoders] DataGridColumn visibility problem. It appears again when dataProvider is replaced On Friday 09 Mar 2007, Mickael RUELLAN wrote: What are doing Adobe for this ? Is there a way to submit bug ? adobe.com/go/wish -- Tom Chiverton Helping to continually grow frictionless paradigms On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links