Flex :: Datagrid Different Fonts For Column Header And The Text In The Corresponding Cell?

Aug 4, 2009

For a flex datagrid : How do I have different fonts for a column header and the text in the corresponding cells?

View 1 Replies


Similar Posts:


Flex :: Ability To Add Buttonicon In Column Header Of Datagrid?

Aug 4, 2009

I want to display the grid control in Flex ( version 3 . with a marker/(or)icon (which acts like a button) in each colum header of the grid.2. on click of the button i want o popup a textaread to capture some comments.3. on close of the popup i wan to then change th markericon in a way highliting it which would indicate that some comments(footnotes) are present for this column. I am very new to flex looking at the data grid control at this point. I understand that the standard features can be easily plugged in by msxml. Do i need to write some complex action script for above feature listed?

View 2 Replies

Flex :: Use Custom Background Skin On Datagrid Header For Currently Sorted Column

Apr 26, 2011

I use a flex mx:datagrid. I can set the headerBackgroundSkin to specify a skin or a picture to be displayed in all datagrid column's headers and it works just fine !

The problem is I can't find any way to specify a custom skin for the currently sorted column (doesn't matter if the sort is asc or desc, this is just to show the user which column is currently sorted).

I also tried to create a custom headerRenderer for each column but it is quite complicated and doesn't work very well.

I have been looking for the solution for a while but I can't find a good approach to do it. It sounds like a very basic need for me...incredible it is so complicated to achieve with Flex !!

I noticed someone was looking for the same thing few years ago but without success... [URL]

View 2 Replies

Flex :: Datagrid - Display A Multi-line Column Header Using The Flex Spark Data Grid?

Apr 13, 2011

How can you display a multi-line column header using the Flex Spark Data Grid for Flex 4.5?

View 5 Replies

ActionScript 3.0 :: Set Value Of A Cell In Datagrid Based On Selected Value Of Combox In Another Column?

Jan 9, 2012

when I select an item from my combobox, the selected value in shown in the textInput on the same row in the datagrid. Basically I need some some in the change handler of the combobox I suppose.

HTML Code:
<mx:DataGrid id="myDG" rowHeight="25" dataProvider="{my_arrayColl}" width="100%" height="205" chromeColor="#D0CCAF" headerHeight="0" showHeaders="false">
<mx:columns>

[code]....

View 0 Replies

ActionScript 2.0 :: DataGrid Component Column Header Tooltips?

Aug 2, 2008

I am looking for a solution to complete within AS2 that allows a user to hover over a column header within a datagrid and a tooltip would pop-up.I'm completeing a sports statistics sheet within Flash and I am obviously putting numbers in each column, else I would use the full column header but its just a number so I don't want to increase the width of the columns just for that.If anyone knows of a way to make each individual column header able to pop up a tooltip plz post or recommend something. To give an example if it isnt obvious of what I'm trying to doLets say my Table looks like soGP | G | A | +/- | %

View 2 Replies

Flex :: Get Column Index Of Header Column In AdvancedDataGrid?

Mar 9, 2010

I want to know column index of header in AdvancedDataGrid when a user clicks on header - either left click or right click.

View 1 Replies

Flex :: Trying To Get Text In Advanced DataGrid Cell

Jan 6, 2011

I have an AdvancedDataGrid that loads data from a web service. It only loads the top level stuff and then as you click the arrows it gets that data. All I want to do is to find out if some text is in one of the cells. I originally did this:

public static function assertTextInAdg(params:Object):Boolean{
// Gets the ADG
trace('youre in the assertTextInAdg function');
var grid:* = FPLocator.lookupDisplayObject(params);
trace('var grid:* = FPLocator.lookupDisplayObject(params): ' + grid);
[Code] .....

And then it fails, because it can't get the source, I think. I am completely open to other strategies and I have been stuck on this problem for 10 days now. This seems like it would be relatively easy. I have been going down a slightly different route. I am now trying to iterate through the HierarchicalCollectionView with a cursor. This seems to work. But, when I get the node I can't do anything useful with it... I have been looking for examples but so far they all stop at the point of getting the node.

public static function assertTextInAdg(params:Object):Boolean{
// Gets the ADG
trace('youre in the assertTextInAdg function');
var grid:* = FPLocator.lookupDisplayObject(params);
trace('var grid:* = FPLocator.lookupDisplayObject(params): ' + grid);
[Code] .....

View 1 Replies

Flex :: Adding Two Header Text In DataGrid

Aug 28, 2009

Can i add two header text in Datagrid? My Requirement is to have two Headercolumns in a Datagrid. Is it possible?

View 2 Replies

Flex :: Change Datagrid Header Text?

Oct 26, 2010

i have a datagrid. i want to change the header text of the first column to a dynamic text on click on a button.

View 1 Replies

ActionScript 3.0 :: Change The Color Of The Header And Cells And Fonts In DataGrid Component?

Aug 31, 2011

How to change the color of the header and cells and fonts in DataGrid component.

View 2 Replies

Flex :: DataGrid Columns Missing Header Text?

Feb 25, 2010

I created a component that is multiple datagrids side by side that share the same columns (each datagrid is the same as the one before but with different data).ProblemThe header text only shows up on the last datagrid. How can I get the text to show up on all the datagrid headers?Here is how I instantiate the component.

<common:PageDataGrid width="100%" height="100%"
numGroups="5" numRows="9" dataProvider="{createData(5, 9)}">
<common:columns>

[code]........

View 1 Replies

Flex :: Vertically Aligning Datagrid Header Text?

Mar 24, 2010

I'm having some issues aligning the header text of a datagrid. I'm using an embed font for the header text, and when applying the css, the header text behaves as if I'd set the text vertical align to top. I'm trying to vertically center the text, but haven't found a way to make it work.

View 1 Replies

Flex :: Unable To Rotate Header Text In Datagrid?

Nov 16, 2011

I'm having trouble in rotating the header text in my datagrid. I don't know understand the reason why its failing.

Datagrid column AS3 code:

dgc=new DataGridColumn();
dgc.dataField=columnName.gene;
dgc.labelFunction=gridLabelFunction

[Code].....

View 1 Replies

Flex :: Binding Sum Of Column Of A Datagrid To A Formitem's Text?

Apr 21, 2011

I want to bind sum of a column of a datagrid to a FormItem'text which is shown below of that datagrid.

View 1 Replies

Flex :: Flash - DataGrid Column Width: One Column To Rule Them All?

Nov 16, 2010

I have a Flex 4, mx:DataGrid with the following (pertinent) properties set:

width="100%"horizontalScrollPolicy="off"

I have the minWidth set on all of the DataGridColumns and the width set on one of them. If I simply maximize/minimize the display (in browser or stand-alone flash player) of the application, the columns scale up and down nicely. But if you grab the edge of the application and drag it to make it bigger, only one column grows really big. When you drag the size down again, the one column remains big, but all of the other columns get squished way down.

View 3 Replies

Flex :: Datagrid Selects The Wrong Custom Cell In Datagrid

Mar 15, 2010

I am working on a problem since a week soon, but I still couldn't make it work as expected. I have a DataGrid which has HBox with a CheckBox an a Label as itemRenderer (see Code below). When I tap in to the Cell the standard itemEditor pops up and lets you enter the content of the label. Thats the standard behavior. I works fine except for 2 problems:

If I enter to much text, the horizontal srollbar pops up, and the cell is filled with that scrollbar. As you see I tried to set the horizontalScrollPolicy to off, but that doesnt work at all... I tried to do that for all the different elements, but the failure is still existent. When I have filled more than one row, there is an other mistake happening. If I tap on a row, the datagrid selects the one below that row. That's only if one line is already selected. If I tap outside the datagrid and then, tap at any row the itemEditor of the right row will show up... Is there anything now wright in the setup of my set data method?

package components
{
import mx.containers.HBox;
import mx.controls.CheckBox;

[Code]......

View 2 Replies

Flex :: Determine Currently Sorted Header Column In Data Grid?

Jul 4, 2010

I want to know which header the user clicked on to give the currently sorted view. Is there an API in flex framework that I can use to achieve this? Hopefully I can get back a column index so I know how it is currently sorted.

View 1 Replies

Change Background Color Of Column Header For AdvancedDataGrid Control In Flex?

Aug 21, 2009

I have below columnGroup in advancedDataGrid control and I want to show the header in red background color and also applied the style but the background color in the header does not show as red only the text color in the header is changed.[code]...

View 2 Replies

Flex :: Clear A Cell In A DataGrid?

Oct 27, 2011

I have an editable datagrid with a dataprovider which is basically Numbers. Is it possible to delete a value? When I do it it puts a 0 in that cell but I really need an empty value, like a Null or a NaN whose are going to be cleaned later with a labelFunction. BTW I also need the cells to keep the 0 if needed to.

View 1 Replies

ActionScript 3.0 :: Wrap Header Text In Datagrid?

Feb 7, 2012

I'm using FB4.6 and constructing a variable sized DataGrid in actionscript. I need the text to wrap in the header (actually every cell) of a datagrid. I can find examples of doing it in mxml but not programatically.

View 0 Replies

Flex :: Table - Style The Each Cell Of DataGrid?

Sep 16, 2009

I have a Flex DataGrid, which has some columns, i had put a item renderer, which makes all the elements in that column hyperlinked, i have a requirement, where i need to see the type of user, based on that i have to either enable or disable the hyper link.

Is there any good way , where i can get the style properties at the cell level...?

View 1 Replies

Get Content Of A Single Cell From A DataGrid In Flex 3?

Mar 19, 2010

I want to select information in a single cell from my DataGrid in Flex 3.

Specifically, I'm displaying three phone numbers per line and the user needs to be able to select one of those numbers, from any row, but not the whole row.

While similar to this, I am displaying the DataGrid to the user. The answer for that question was to manipulate the dataProvider, how can I know what cell I've selected in order to do that?

View 1 Replies

Flex :: Prevent Tab From Changing To Other Cell In Datagrid?

Jun 27, 2010

I have a flex editable datagrid mx:DataGrid and when I press TAB key, it changes to another cell when I am editing a cell.

I don't want it to change to another cell when I press TAB. How can I stop this behavior?

View 1 Replies

Flex :: Get Or Set Cell Values In A Datagrid Progmmatically?

Oct 8, 2010

In Flex 4 using a pre populated data grid, how can I get or set specific values programatically, IE I wont be using selectedItems etc.

How do I reference the value of a cell in row 4 colum 6 for example.

View 1 Replies

Flex :: Change BackColor In Datagrid Cell?

Jun 10, 2011

I am creating Flex application.When enter data in data grid cell that time i want to check that cell value is less then 20 and if it not then change that cell's back color to red.

View 2 Replies

Flex :: Spark DataGrid Cell Click?

Jun 18, 2011

I am searching for something like CellClick event on Spark DataGrid, or something alike.

Is there something like this in Flex 4.5, and how to get the data from the clicked cell ?

View 1 Replies

ActionScript 3.0 :: DataGrid - How To Change Header Text Align

Dec 5, 2010

How can I use cell render class to modify datagrid's header ! but head is not a cell ! I just want to change header text align!

View 4 Replies

Flex :: Datagridview - Find Datagrid Cell Object?

Jul 7, 2009

I have datagrid in my page and I want to change particular cell background color. I don't want to use itemrenderer.

View 2 Replies

Xml :: Hyperlink Cell Elements Passed In A Flex Datagrid?

Jul 30, 2009

I'm trying to render a Flex datagrid using an external XML datasource. Is there a way I can specify in the XML that a cell element should appear as a hyperlink?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved