Re: [flexcoders] DataGrid Row Height - Row Cutoff?
There is no setting. You can set the width to rows * rowHeight + viewMetrics.top + viewMetrics.bottom; On 3/5/10 6:08 AM, rojoe615 headj...@bellsouth.net wrote: I am using a data grid and noticed that the last row is cutoff and not fully displayed. (Scrolling down displays everything fine) Is there a setting to make the data grid display the full row on the last line? Thanks, JB -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Datagrid Row height
Hi, Set variableRowHeight to true. thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056 2009/6/14 Mike Chang mik...@gmail.com Hi, One of my rows in a data grid contains items that are larger than the default height of the cell (1 line). It's fine that it stretches, but is it possible not to have all the rows increase by the same? All the rows are bigger in height now. Please help. Mike
RE: [flexcoders] DataGrid Row Icon
It means your data objects are just plain objects and any changes to type or name won't be detected. You can make your object [Bindable] or better yet, define a custom data class with the appropriate [Bindable()] events, but I don' think these warning will harm you in this case although it will slow down the app. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Vega Sent: Friday, July 25, 2008 6:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid Row Icon I am having an issue displaying an icon in the first column of a row. Using the following code I pass two variables to a function the type and name. The type lets me know if the current row is a Directory or a file, if its a directory I return the source for the folder image, if its a file I a parse the filename to get the extension and show that Icon. mx:DataGridColumn width=30 sortable=false mx:itemRenderer mx:Component mx:Image source={outerDocument.setIcon(data.Type,data.Name)} verticalAlign=middle horizontalAlign=center scaleContent=false/ /mx:Component /mx:itemRenderer /mx:DataGridColumn While this is working I keep getting the errors below.. Any help is appreciated. warning: unable to bind to property 'Type' on class 'Object' (class is not an IEventDispatcher) warning: unable to bind to property 'Name' on class 'Object' (class is not an IEventDispatcher) Thank You Dan Vega [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.danvega.org http://www.danvega.org
Re: [flexcoders] DataGrid Row Icon
As you said that I started looking at it more and started to write a reply. The item is declared bindable but when you are in the component it could not see my variable because it was declared private. i declared the variable and it works with no warnings now! mx:DataGridColumn width=30 sortable=false mx:itemRenderer mx:Component mx:Image source={outerDocument.setIcon(data.Type,data.Name)} verticalAlign=middle horizontalAlign=center scaleContent=false/ /mx:Component /mx:itemRenderer /mx:DataGridColumn Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Fri, Jul 25, 2008 at 2:13 PM, Alex Harui [EMAIL PROTECTED] wrote: It means your data objects are just plain objects and any changes to type or name won't be detected. You can make your object [Bindable] or better yet, define a custom data class with the appropriate [Bindable()] events, but I don' think these warning will harm you in this case although it will slow down the app. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Dan Vega *Sent:* Friday, July 25, 2008 6:45 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] DataGrid Row Icon I am having an issue displaying an icon in the first column of a row. Using the following code I pass two variables to a function the type and name. The type lets me know if the current row is a Directory or a file, if its a directory I return the source for the folder image, if its a file I a parse the filename to get the extension and show that Icon. mx:DataGridColumn width=30 sortable=false mx:itemRenderer mx:Component mx:Image source={outerDocument.setIcon(data.Type,data.Name)} verticalAlign=middle horizontalAlign=center scaleContent=false/ /mx:Component /mx:itemRenderer /mx:DataGridColumn While this is working I keep getting the errors below.. Any help is appreciated. warning: unable to bind to property 'Type' on class 'Object' (class is not an IEventDispatcher) warning: unable to bind to property 'Name' on class 'Object' (class is not an IEventDispatcher) Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org
Re: [flexcoders] datagrid row moves up to the header when scrolled?
On Tuesday 16 January 2007 03:58, arpan srivastava wrote: I am using custom item renderers to draw charts. Datagrid contains only charts. What i found is that when i scroll fast then all the rows move up. it's like the first row moves upto the header and all other also leaving a blank space at bottom. ? This is a common problem with custom item renders, if you look in the list archive you should be able to find a number of work arounds. -- Tom Chiverton Helping to paradigmatically lead transparent web-readiness 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 * 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] datagrid row moves up to the header when scrolled?
On Friday 12 January 2007 14:39, arpan srivastava wrote: I am facing lot of problem with datagrid. In my datagrid i have area chart in each cell. When i scroll the datagrid down, then first row moves upto the header instead of disappearing and extra comes from down, Are you using custom item renders ? -- Tom Chiverton Helping to confidentially maximize eigth-generation channels 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 * 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] datagrid row moves up to the header when scrolled?
Hi Tom, I am using custom item renderers to draw charts. Datagrid contains only charts. What i found is that when i scroll fast then all the rows move up. it's like the first row moves upto the header and all other also leaving a blank space at bottom. ? - Original Message From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 15, 2007 5:01:02 PM Subject: Re: [flexcoders] datagrid row moves up to the header when scrolled? On Friday 12 January 2007 14:39, arpan srivastava wrote: I am facing lot of problem with datagrid. In my datagrid i have area chart in each cell. When i scroll the datagrid down, then first row moves upto the header instead of disappearing and extra comes from down, Are you using custom item renders ? -- Tom Chiverton Helping to confidentially maximize eigth-generation channels 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 Looking for earth-friendly autos? Browse Top Cars by Green Rating at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/
RE: [flexcoders] DataGrid row
Thanks Tracy for your help From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, January 09, 2007 6:39 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DataGrid row That is because there is really no such thing. The list controls are windows into the data, and only the visible rows exist. The visual rendering elements are re-used when the data is scrolled or the dataProvider is changed. You cannot access the data through the control, but must work with the dataProvider, in your case, something like: myDataGrid.dataProvider.setItemAt(); The exact API you use depends on what the dataProvider is, ArrayCollection, XMLList, XMLListCOllection are the main types. If you use the Collection api to modify the data, then the changes will automatically be reflected in the control. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: Tuesday, January 09, 2007 4:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid row Hi, How can I get a pointer to a row in a DataGrid? i.e. myDataGrid.getRow(index).setSomething() I know the DataGridColumn but there's nothing like a DataGridRow Thanks - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] DataGrid row
That is because there is really no such thing. The list controls are windows into the data, and only the visible rows exist. The visual rendering elements are re-used when the data is scrolled or the dataProvider is changed. You cannot access the data through the control, but must work with the dataProvider, in your case, something like: myDataGrid.dataProvider.setItemAt(); The exact API you use depends on what the dataProvider is, ArrayCollection, XMLList, XMLListCOllection are the main types. If you use the Collection api to modify the data, then the changes will automatically be reflected in the control. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: Tuesday, January 09, 2007 4:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid row Hi, How can I get a pointer to a row in a DataGrid? i.e. myDataGrid.getRow(index).setSomething() I know the DataGridColumn but there's nothing like a DataGridRow Thanks - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] DataGrid row focus
this hightlights the 3rd row: myDataGrid.selectedIndex = 2; Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of eweibust Sent: Thursday, December 21, 2006 3:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid row focus How do I make a row in a DataGrid have focus when a screen loads? -- 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] Datagrid Row Spacing
On 4/14/06, jeffrey_lage [EMAIL PROTECTED] wrote: It seems to me that there is a 'couple pixel' spacing or gap btwn the rows of a datagrid. Can this be controlled? I would like to eliminate it. I think the verticalGap style actually works on List/DataGrid. Not sure, but give it a try. Manish -- 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/ * 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] Datagrid row highlighting and locking (Flex2)
On 3/12/06, yaagcur [EMAIL PROTECTED] wrote: I have a datagrid where the final row is a sum of the others Is there anyway of setting its color to be different in order to highlight it. The dataprovider is an arraycollection Assuming the special row in the data provider is marked with a flag, you can use conditional formatting, like so: !-- cell renderer -- VBox backgrroundColor={dataObject.totalsRow ? 'red' : 'white'} ... Also is it feasible to lock the row a la columns? Unfortunately rows can be locked only from the top. I assume you want to lock this row as the last row in the data grid, and that's not possible (or maybe it's possible with some hacks, but I haven't tried). Manish -- 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/ * 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] Datagrid Row Color based on Value in Column
Add a property called backgroundColor to each object in the dataProvider and set it to be the same value as the property you wanted to base it on. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shahnavaz Alware Sent: Friday, December 02, 2005 5:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid Row Color based on Value in Column Hi, Is there a way in which I could change the color of the entire row in DataGrid based on the value in one of the column? Thanks, Shahn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DataGrid row color
http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html tab Data Grids property 'Alternating row colors' Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sandip_patil01Sent: mardi 8 novembre 2005 11:32To: flexcoders@yahoogroups.comSubject: [flexcoders] DataGrid row color Hi All,I want to put alternate row colour of datagrid as white blue.Means first row is white then second row is blue again third row white,fourth row blue so on..Anybody know this ?If so please let me know how to do this.Thx in advance,sandip -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--
RE: [flexcoders] datagrid row count
At 12:59 PM 2/15/2005, you wrote: Set the datagrid property: rowCount=2. Thanks. I had set variableRowHeight to true while experimenting with making a line break in the datagrid header. Guess that overrides the specified row height. Once I removed that property, the rowheight worked. - Tom -Original Message- From: Tom Fitzpatrick [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 12:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] datagrid row count I have a datagrid fed by a two-node xml file. It keeps adding extra rows. How do I make it display only the rows that have data in them? Yahoo! Groups Links Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=1297hkbih/M=298184.6018725.7038619.3001176/D=groups/S=1705007207:HM/EXP=1108575769/A=2532114/R=2/SIG=12k5dovlc/*http://clk.atdmt.com/NFX/go/yhxxxnfx002014nfx/direct/01/time=1108489369998455 [] [] -- Yahoo! Groups Links * To visit your group on the web, go to: * http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/ * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service.