Re: [flexcoders] DataGrid header styles...
There is an object or two on each UIComponent that has styles, but it actually has lots of styles that probably don’t matter. I would just call getStyle for the styles you know you can replicate to Excel. On 5/15/12 3:56 PM, "aceoohay" wrote: Here are two related questions, I am using SDK 3.5 & FlexBuilder 3; 1) How can I get the header style information from a datagrid? What I need to do is to extract enough info about each column's header to be able to pass it to an Excel component to style the headers of the spreadsheet. 2) Is there a way to loop through a component's style info? I would like to be able to pass an object to a function, and have that function loop (recursively if needed) and find all of the style names and values. This is mainly for development, so just being able to "Trace" these values would be fine. Paul -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
[flexcoders] DataGrid header styles...
Here are two related questions, I am using SDK 3.5 & FlexBuilder 3; 1) How can I get the header style information from a datagrid? What I need to do is to extract enough info about each column's header to be able to pass it to an Excel component to style the headers of the spreadsheet. 2) Is there a way to loop through a component's style info? I would like to be able to pass an object to a function, and have that function loop (recursively if needed) and find all of the style names and values. This is mainly for development, so just being able to "Trace" these values would be fine. Paul
[flexcoders] DataGrid header skin
Can someone please provide a sample of datagrid header skin that would be just the same as a regular one? Thanks
[flexcoders] DataGrid header background
If I want to have a header of some columns in a different color what do I basically do? Custom renderer? What would I use? Canvas? Thanks for help.
RE: [flexcoders] DataGrid Header Styles
It is a bug in how styles are hooked up for header renderers. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Gold Sent: Tuesday, July 15, 2008 2:53 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DataGrid Header Styles > That seems like over kill for such a simple thign Welcome to Flex! I can never get the textRollOverColor to work on the header. Here's a stab at a simple renderer that just grabs the textRollOverColor style from the DataGrid http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> " width="100%" height="100%" implements="mx.controls.listClasses.IDropInListItemRenderer" mouseOver="onMouseOver()" mouseOut="onMouseOut()"> On Tue, Jul 15, 2008 at 1:27 PM, Dan Vega <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Just to change text styles? That seems like over kill for such simple thing Dan On Tue, Jul 15, 2008 at 2:04 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: You may need to create custom header renderers. From: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> ] On Behalf Of Dan Vega Sent: Tuesday, July 15, 2008 8:40 AM To: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> Subject: [flexcoders] DataGrid Header Styles I have some custom styles for my datagrid that apply to all datagrids. My problem is that the rows of the grid get a rollover color close to black and the text is white. The problem is with the header. When I roll over the header the background color is black but so is the text so I can not tell what the text says. Also the arrows are black so you never see those. Is there a way to customize all of this or just tell the header to act normal (don't apply styles)? DataGrid { textRollOverColor:#ff; rollOverColor:#242424; selectionColor:#242424; textSelectedColor:#ff; headerStyleName: dataGridHeader; } .dataGridHeader { textRollOverColor:#FF; } Thank You Dan Vega [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://www.danvega.org <http://www.danvega.org>
Re: [flexcoders] DataGrid Header Styles
> That seems like over kill for such a simple thign Welcome to Flex! I can never get the textRollOverColor to work on the header. Here's a stab at a simple renderer that just grabs the textRollOverColor style from the DataGrid http://www.adobe.com/2006/mxml"; width="100%" height="100%" implements="mx.controls.listClasses.IDropInListItemRenderer" mouseOver="onMouseOver()" mouseOut="onMouseOut()"> On Tue, Jul 15, 2008 at 1:27 PM, Dan Vega <[EMAIL PROTECTED]> wrote: > Just to change text styles? That seems like over kill for such simple > thing > > Dan > > > On Tue, Jul 15, 2008 at 2:04 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > >>You may need to create custom header renderers. >> >> >> -- >> >> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On >> Behalf Of *Dan Vega >> *Sent:* Tuesday, July 15, 2008 8:40 AM >> *To:* flexcoders@yahoogroups.com >> *Subject:* [flexcoders] DataGrid Header Styles >> >> >> >> I have some custom styles for my datagrid that apply to all datagrids. My >> problem is that the rows of the grid get a rollover color close to black and >> the text is white. The problem is with the header. When I roll over the >> header the background color is black but so is the text so I can not tell >> what the text says. Also the arrows are black so you never see those. Is >> there a way to customize all of this or just tell the header to act normal >> (don't apply styles)? >> >> DataGrid { >> textRollOverColor:#ff; >> rollOverColor:#242424; >> selectionColor:#242424; >> textSelectedColor:#ff; >> headerStyleName: dataGridHeader; >> } >> .dataGridHeader { >> textRollOverColor:#FF; >> } >> >> >> Thank You >> Dan Vega >> [EMAIL PROTECTED] >> http://www.danvega.org >> > > >
Re: [flexcoders] DataGrid Header Styles
Just to change text styles? That seems like over kill for such simple thing Dan On Tue, Jul 15, 2008 at 2:04 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >You may need to create custom header renderers. > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Dan Vega > *Sent:* Tuesday, July 15, 2008 8:40 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] DataGrid Header Styles > > > > I have some custom styles for my datagrid that apply to all datagrids. My > problem is that the rows of the grid get a rollover color close to black and > the text is white. The problem is with the header. When I roll over the > header the background color is black but so is the text so I can not tell > what the text says. Also the arrows are black so you never see those. Is > there a way to customize all of this or just tell the header to act normal > (don't apply styles)? > > DataGrid { > textRollOverColor:#ff; > rollOverColor:#242424; > selectionColor:#242424; > textSelectedColor:#ff; > headerStyleName: dataGridHeader; > } > .dataGridHeader { > textRollOverColor:#FF; > } > > > Thank You > Dan Vega > [EMAIL PROTECTED] > http://www.danvega.org > >
RE: [flexcoders] DataGrid Header Styles
You may need to create custom header renderers. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Vega Sent: Tuesday, July 15, 2008 8:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid Header Styles I have some custom styles for my datagrid that apply to all datagrids. My problem is that the rows of the grid get a rollover color close to black and the text is white. The problem is with the header. When I roll over the header the background color is black but so is the text so I can not tell what the text says. Also the arrows are black so you never see those. Is there a way to customize all of this or just tell the header to act normal (don't apply styles)? DataGrid { textRollOverColor:#ff; rollOverColor:#242424; selectionColor:#242424; textSelectedColor:#ff; headerStyleName: dataGridHeader; } .dataGridHeader { textRollOverColor:#FF; } Thank You Dan Vega [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://www.danvega.org <http://www.danvega.org>
[flexcoders] DataGrid Header Styles
I have some custom styles for my datagrid that apply to all datagrids. My problem is that the rows of the grid get a rollover color close to black and the text is white. The problem is with the header. When I roll over the header the background color is black but so is the text so I can not tell what the text says. Also the arrows are black so you never see those. Is there a way to customize all of this or just tell the header to act normal (don't apply styles)? DataGrid { textRollOverColor:#ff; rollOverColor:#242424; selectionColor:#242424; textSelectedColor:#ff; headerStyleName: dataGridHeader; } .dataGridHeader { textRollOverColor:#FF; } Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org
Re: [flexcoders] DataGrid Header Center Align??
If you are using the Advanced datagrid, you need to use horizontalAlign or verticalAlign. so in CSS you would say horizontalAlign:left. textAlign does not work for the Advanced Datagrid. See http://bugs.adobe.com/jira/browse/FLEXDMV-1633 Flex bug 1663 - -- View this message in context: http://www.nabble.com/DataGrid-Header-Center-Align---tp9100312p16826469.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] DataGrid header horizontal row seperator
Hi i am having a hell of a tme finding out how to style this. Basically i want to add about a 10px gap between the header row of the datagrid and the data rows. Looking at the DataGrid styles i have noted that: 1. HeaderSeparatorSkin - this only affects the vertical lines between the header columns and not the horizontal row seperator that i am looking to style 2. HeaderStyleName - only affects text in the datagrid header 3. There are various other styles in the documentation but they target the vertical and horizontal lines between the datarows and do not affect the line/border between the header and data rows 4. borderColor does affect the color of the header row seperator but none of the other border styles (borderThickness, borderSides etc) seem to target it. And obviously i am looking to change its thickness rather than color So, it seems that this header row seperator has no styles to control it. Anyone any ideas how i can configure this? many thanks
RE: [flexcoders] DataGrid header paddingTop
Custom headerRenderer. Check the docs for examples. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sanjaypmg Sent: Friday, March 23, 2007 2:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid header paddingTop Hi All, In my flex screen, there is a dataGrid with rendered headers. To make my header looking good I have given paddingTop="-2"... but If I specify paddingTop="-2", vertical alignment of my Data/other rows shifts towards top in other words, which is not vertically in middle.. How can I make the paddingTop="0" for all rows except header? Please do let me knw the solution... Thanks in Advance Sanjay Sharma
[flexcoders] DataGrid header question - need help on Styles
Hello All, Is there a style available, that would virtually eliminate the dividing line between each Column Header? Just imagine a multi-column DataGrid, but having just ONE huge rectangle which spans the length of the entire Grid encapsulating the Headers. You can do this on the DataGrid itself, by turning off the Vertical Gridlines - and this is the same look I am trying to attain for the Headers. Thanks in advance, for any information you can throw my way. Mike
[flexcoders] DataGrid header paddingTop
Hi All, In my flex screen, there is a dataGrid with rendered headers. To make my header looking good I have given paddingTop="-2"... but If I specify paddingTop="-2", vertical alignment of my Data/other rows shifts towards top in other words, which is not vertically in middle.. How can I make the paddingTop="0" for all rows except header? Please do let me knw the solution... Thanks in Advance Sanjay Sharma
[flexcoders] DataGrid Header Center Align??
Hi, How can I center align header text of a DataGrid? Thanks, Sanjay
[flexcoders] DataGrid Header Randar Example......
Hi All, I was looking into DataGrid Example from FB's Help of rendaring a header. I have used TextArea to display ColIndex in each corresponding header, which is working fine. Here, I want to display a combobox with unique value of that purticular coloumn. When I changed TextArea to ComboBox and compiled, It doesnt show anything on the screen. Can anyone tell me, Why? If I use HBox in place of TextArea and add ComboBox inside HBox, Combobox appears on the screen but it doesnt "listData" as it is a public property of TextArea. How can I get the dataField Name of Randared column? Or Is there any other way to rendar a grid header to populate the combobox with using column value? Please help me to resolve this issue. Thanks, Sanjay sharma = GridHeaderRendar.mxml http://www.adobe.com/2006/mxml"; layout="absolute" xmlns:local="*" xmlns:gridCode="*" > testCombo.mxml (withTextArea) = http://www.adobe.com/2006/mxml"; preinitialize ="initTA();"> testCombo.mxml (with ComboBox) = http://www.adobe.com/2006/mxml"; preinitialize ="initTA();"> testCombo.mxml (with HBox) = http://www.adobe.com/2006/mxml"; preinitialize ="initTA();">
[flexcoders] Datagrid header spanning 2 columns
Hi, I want to have a header spanning 2 columns in a datagrid. Header1| Header2 Col| Col2 | col3 | | | | | | How can I do that? Regards, Sanjucta This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
[flexcoders] Datagrid header spanning 2 columns
Hi, I want to have a header spanning 2 columns in a datagrid. Header1| Header2 Col| Col2 | col3 | | | | | | How can I do that? Regards, Sanjucta This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
[flexcoders] DataGrid header
Hi, I am new to Flex 2.0.Can anybody tell me how to turn off a datagrid header and just display the rows? -- 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/
[flexcoders] Datagrid header rollover
I have been trying to do this for quite some time now. I want to be able to take some action when the user rolls over the header in a datagrid. I tried using the itemRollOver event, however, the event.rowIndex property shows from row 1 onwards, not 0. It works fine for itemClick but not itemRollOver. Any idea how I can achieve this? I am also trying to change the background color for particular cells dynamically. It depends on whether the user clicked an image or no. Any idea about this too? setPropertiesAt() does not work for Flex 2. Thanks in advance, Niyati -- 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/
[flexcoders] Datagrid header rollover
I have been trying to do this for quite some time now. I want to be able to take some action when the user rolls over the header in a datagrid. I tried using the itemRollOver event, however, the event.rowIndex property shows from row 1 onwards, not 0. It works fine for itemClick but not itemRollOver. Any idea how I can achieve this? I am also trying to change the background color for particular cells dynamically. It depends on whether the user clicked an image or no. Any idea about this too? setPropertiesAt() does not work for Flex 2. Thanks in advance, Niyati -- 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/
[flexcoders] DataGrid Header lines
I have custom Header Renderers for my Datagrid with backgroundImages, but for some reason the lines (white lines) to resize the columns show up, even though I have set resizeColumns to false. Anybody know a way to get rid of this. Its quite annoying visually. TIA - superabe -- 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 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 header borders
On 12/21/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > a wild nope ;) looks like I have to create a headerRenderer for > this. Somethings in Flex are kind of not so simple, eh? Hopefully things are better in Flex 2. Manish Yahoo! Groups Sponsor ~--> Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/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/ <*> 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 header borders
a wild nope ;) looks like I have to create a headerRenderer for this. Somethings in Flex are kind of not so simple, eh? DK On 12/20/05, Manish Jethani <[EMAIL PROTECTED]> wrote: > On 12/20/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > > I have a datagrid, I set all the borders to a colour of say pink for > > example. But the borders between the headers stay a default colour of > > white. How to change this? Do I need a headerRenderer to do > > something as simple as this? > > Wild guess (I'm not actually trying this out): try setting the > "backgroundColor" style. > > 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 > > > > > > > -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? Yahoo! Groups Sponsor ~--> 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/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/ <*> 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 header borders
On 12/20/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > I have a datagrid, I set all the borders to a colour of say pink for > example. But the borders between the headers stay a default colour of > white. How to change this? Do I need a headerRenderer to do > something as simple as this? Wild guess (I'm not actually trying this out): try setting the "backgroundColor" style. Manish Yahoo! Groups Sponsor ~--> Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/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/ <*> 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/
[flexcoders] datagrid header borders
I have a datagrid, I set all the borders to a colour of say pink for example. But the borders between the headers stay a default colour of white. How to change this? Do I need a headerRenderer to do something as simple as this? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? Yahoo! Groups Sponsor ~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/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/ <*> 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 header renderer (F 1.5)
http://www.flexauthority.com/samplesIndex.cfm >> Intermediate >> DataGrid Custom HeaderRenderer From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Fitzpatrick Sent: Wednesday, November 30, 2005 12:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid header renderer (F 1.5) Can anyone point to a working example of a header renderer for a dataGrid? I'd like to be able to style the type and the background color for an individual dataGrid column header. I've looked through the docs and can't locate any code that works. - Tom -- 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.
[flexcoders] Datagrid header renderer (F 1.5)
Can anyone point to a working example of a header renderer for a dataGrid? I'd like to be able to style the type and the background color for an individual dataGrid column header. I've looked through the docs and can't locate any code that works. - Tom Yahoo! Groups Sponsor ~--> 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/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/ <*> 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/