Flex :: Have A Datagrid That Displays Data Vertically Instead Of Horizontally?

Jun 2, 2011

Can i have a datagrid that displays data vertically instead of horizontally?for example, if this is my dataprovider:

array('firstname':'John','lastname':'Doe'),
array('firstname':'Jack','lastname':'Jill')

I want the data to be displayed like this :

Fields Value1 Value2
Firstname John Jack
Lastname Doe Jill

and so on .... whats the best way to achieve this .. If i have to extend the datagrid component.

View 1 Replies


Similar Posts:


Flex :: Merge Cell Vertically Or Horizontally?

Dec 5, 2011

Possible Duplicate: How to merge cells in DataGrid/AdvancedDataGrid in Adobe Flex I want to do something as Office Excel with Flex, such as merging cells. How do I do it ?

View 1 Replies

Flex :: Center An Image Horizontally And Vertically In An Image Control?

Aug 14, 2010

How can I center a loaded photo [lets say 200x300] in an image control [lets say 400x600]? My image control has fixed dimensions while my contents have different dimensions and I want them to get centered automatically.

View 1 Replies

Flex: Error On Scrolling Vertically In A DataGrid

Jun 10, 2010

i have this code

<mx:DataGrid id="tempListDG" itemDoubleClick="doubleClickHandler(event)" width="100%" height="100%" rowHeight="110"
draggableColumns="false" sortableColumns="false" allowMultipleSelection="false">
<mx:columns>
<mx:DataGridColumn id="chkSel" headerText=" " width="15" sortable="false">
<mx:itemRenderer>

[Code]...

View 2 Replies

Cannot Center Vertically An Horizontally In Html

May 12, 2009

I have tryng to centre my SWF website in html index file but for some reason when i upload it it only uploads to the top right hand side of the browser, center this SWF absolutely in the center, vertically and horizontally my html code im using in html is as follows;

[Code]...

View 3 Replies

Flip The Symbol Horizontally Or Vertically?

Dec 9, 2009

I defined a symbol and applied 9-slice guides to it.    When I transform the symbol, it transforms fine (the 9-slice works the way I expect) until I flip the symbol horizontally or vertically. 

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

ActionScript 2.0 :: Flip Movieclip Horizontally Or Vertically?

Aug 17, 2005

is it possible to flip a (duplicated) movieclip horizontally or vertically using AS?

I don't mean rotating it 180 degrees, that's something else, I mean a flip comparable to Modify > Transform > Flip Horizontal.

View 9 Replies

ActionScript 2.0 :: Flip A Movieclip Vertically / Horizontally?

Mar 31, 2007

I need to know how to flip a movieclip vertically / horizontally like in

modify - flip horizontal
modify - flip vertical

But in actionscript, and i've tried ._rotation, and it doesnt work properly, it messes it up

View 1 Replies

ActionScript 1/2 :: Load A Movie That Is Centered Horizontally And Vertically?

May 17, 2009

I would like to load a movie that is centered horizontally and vertically on the stage even if the browser window is opened larger. I have a liquid layout that opens up if the browser is enlarged, but I need to make sure the loaded movie stays centered in the browser.

View 1 Replies

ActionScript 2.0 :: Stretch A Movieclip Indefinately Either Horizontally Or Vertically?

Oct 27, 2005

how to use actionscript to stretch a movieclip indefinately either horizontally or vertically? I have a swf file which I've set to resize when the browser window resizes and I want to have a background movie clip that 'stretches' or 'repeats' itself to accomodate the browser window at whatever width it is.

View 1 Replies

ActionScript 3.0 :: Drag Limiting Mc To Be Dragged Horizontally Or Vertically

Oct 8, 2010

I got a movieclip which should be dragable horizontally and vertically, however it should be "locked" horizontally when dragging vertically as well as the other way around.[code]

View 6 Replies

ActionScript 2.0 :: Flip A Movie Clip - Horizontally Or Vertically

Jan 17, 2004

Is it possible to flip a movie clip, horizontally or vertically, using script. I have tried to find tutorials, and I have searched through the ActionScript refernce. Perhaps it requires more than 1 line of code?

View 15 Replies

Flex :: ComboBox In DataGrid Loses Values When Scroll Horizontally

Dec 14, 2009

I have a very strange problem in a Flex 3.4 Datagrid. One of the columns is a ComboBox - I have my own custom renderer for the ComboBox. I use it to select my data and then make a "save" to the db. Upon return the comboBox loses its value. Even stranger is that when I scroll the datagrid area to the left (by moving scrollbar right) - the values in the ComboBox change!! When I scroll the datagrid right (by moving the scrollbar left) - the values in the ComboBox don't change.

View 2 Replies

Flex :: Implement A Horizontally Populated DataGrid (with The Headers On The Left Instead Of At The Top)?

Feb 4, 2011

I am trying to find an easy and robust way to override the default layout of DataGrid and populate its values in a left-right fashion. To illustrate:My data model is an array of: {a: xxx1..n, b: yyy1..n, c: zzz1..n}The default DataGrid component will lay this out as:

a b c
xxx1 yyy1 zzz1
xxx2 yyy2 zzz2
xxxn yyyn zzzn
etc.

With "a", "b", and "c" as the headers, and x, y, z being their values for each object in the dataProvider.Now I want to lay this out horizontally like so:

a xxx1 xxx2 xxxn
b yyy1 yyy2 yyyn
c zzz1 zzz2 zzzn

I've searched around for an answer but haven't hit on anything. Perhaps I'm just using the wrong keyword searches...Regardless, if anyone knows a solution to this, be it as mundane as a property setting I've somehow missed, or a 3rd party component, etc.

ps: Eventually, this must be entirely tab-enabled and cell-editable. If you have an esoteric solution involving a multi-field itemRenderer, please keep this in mind. I mention this because I have attempted such a solution and have failed to penetrate DataGrid's Unfailing Field of Tab Vitiation (ie DataGrid seems to override tab functionality inside its itemRenderer, forcibly setting focus to the next renderer/editor).

View 1 Replies

ActionScript 2.0 :: Get Movie Clip To Flip Vertically / Horizontally When A Key Is Pressed

Dec 27, 2004

How do you get a movie clip to flip vertically/horizontally when a key is pressed. I know how to rotate, but I need to get the clip to flip to make it look more realistic.

View 6 Replies

ActionScript 2.0 :: Diagonal / Slanted Blinds Effect Vertically Or Horizontally?

Jan 17, 2007

I've use the transitionmanager to do the blinds effect, but its done either verticlaly or horizontally.

View 1 Replies

ActionScript 2.0 :: Get A Movie Clip To Flip Vertically/horizontally When A Key Is Pressed

Dec 27, 2004

How do you get a movie clip to flip vertically/horizontally when a key is pressed. I know how to rotate, but I need to get the clip to flip to make it look more realistic.

View 6 Replies

Flex :: Shrink The Default Spark DataGrid Row Height And Keep The Text Vertically In View?

Dec 11, 2011

In the Spark DataGrid the default row height is about 22 px. I would like to set the default row height to 18 pixels and I can do this easily enough with the rowHeight property but what happens is when the rowHeight is set to anything less than 22 px the bottom area of the text in each row is cut off. It seems that the default grid itemrenderer or grid label has a min height set to it. Since I have multiple columns and want to have shorter rows but not have the bottom of the text cut off in each row how would I do this?

View 2 Replies

ActionScript 2.0 :: Photo Gallery - Make The Thumbnails Display Vertically Not Horizontally

Jan 25, 2007

I was wondering in the photo gallery thumbnail tutorial how do I make the thumbnails display vertically not horizontally. Also how do you add the picture caption underneath the thumbnail? [URL]

View 8 Replies

ActionScript 3.0 :: Flip Objects Horizontally And Vertically Using Senocular Transform Tool?

Oct 15, 2008

I am using the senocular transform tool for scaling, rotating etc... skew is disabled in the tool. I Have tried many ways to flip the display object horizontally and vertically. he function I am using is given below. It works fine when the display object is not rotated. When it is rotated and then flipped it outputs a skewed inverted display Object.

function flipHorizontal(dsp:DisplayObject):void
{
var matrix:Matrix = dsp.transform.matrix;
matrix.transformPoint(new Point(dsp.width/2,dsp.height/2));

[code]....

View 1 Replies

ActionScript 2.0 :: Make An Object Flip (change Directions, Vertically Or Horizontally)?

Aug 25, 2003

Is there a possible way to make an object flip (change directions, vertically or horizontally) using actionscript?

View 4 Replies

ActionScript 3.0 :: Display Flash 100 Percent Horizontally In Browser And A Fixed Number Vertically?

Oct 5, 2009

I'd like to make the movie go 100% percent across the width, however I want to resize it vertically to my own liking. How can I do that?

View 3 Replies

ActionScript 2.0 :: Vertically And Horizontally Center My Flash Movie In Full Screen Mode?

Feb 20, 2010

I have a flash movie containing an Action Scripted toggle Full Screen button.When I press the button the movie switches to Full screen.The problem I have is that my Flash movie always aligns to the top left of the screen.I use the Flash Only Centered extension which successfully centers the movie in the browser window, but not when in full screen mode.

tell me how to vertically and horizontally center my Flash movie in Full Screen mode.

View 1 Replies

Flex :: Value In Datagrid Itemrenderers Set Data Method Doesn't Return The Correct Data?

Jan 10, 2012

I've got a Gridcolumn in a Datagrid (Spark). The Column's dataprovider is a Number value that gets updated via Binding.Now, without an item renderer the cell displays the correct values.If I set an item renderer, I can't access the values in this renderer.My renderer looks like this, so nothing really do here (for now) but to trace the value, but the value is always NaN.

<?xml version="1.0" encoding="utf-8"?>
<s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" width="100%" height="100%" >[code].......

without the renderer, the column displays the correct values, so apparently the DefaultGridItemRenderer works fine.As requested, here is my Datagrid;

<s:DataGrid id="dataGrid" dataProvider="{_listItems}">
<s:columns>
<s:ArrayList>[code]..........

_listItems is an ArrayList with instances of a model class, which has (amongst others) a property called change of type Number.

View 1 Replies

Flex :: Data Passed From DataGridColumn.itemToLabel To DataGrid.itemRenderer.set(data)?

Dec 4, 2009

I have a DataGrid whose dataProvider is an Array of int Arrays (each with different lengths). Since each row has variable size (and I want to display all the data), I decided to extend DataGridColumn and overwrite the itemToLabel function to be able to display the data. The problem is that I also need to display the data differently depending on the int value.

I believe the only solution is to write an itemRenderer, but the only input the itemRenderer.set(data) function receives is the entire int Array. I believe I need either the exact string returned by itemToLabel or the column index of the cell the itemRenderer is for (to basically do the same parsing I implemented in itemToLabel).

View 1 Replies

Actionscript :: Vertically Align Text In Spark DataGrid Row

Feb 21, 2012

I would like to make the height of my DataGrid rows a bit larger than the default. The problem is that the text is vertically align to the top of the row. I would like to vertically align it to the middle of the row.

Is there a way of doing that via CSS or Skinning in Flex 4.6? note that I am using a Spark DataGrid and not an MX version.

View 1 Replies

Actionscript 3 :: Make A Spark DataGrid Grow Horizontally To Fully Render All The Columns?

Oct 28, 2011

I've set a DataGrid to display all the rows in the data provider by binding it to the height of the control.Now that all rows are rendered, I want the DataGrid to grow horizontally so that every column renders the whole text (of Labels).Is there a way of doing this without resorting to a typical object?

View 1 Replies

Flash :: Flex Data Grid: Check Whether Item Renderer Displays Last Row In Grid

Feb 3, 2012

I'm currently working with the OLAPDataGrid component and got stuck at a relatively simple task: I want to style the last row of the grid differently from the rest, so my cell item renderer needs to know whether he's rendering the last row with content in the overall grid, including those rows currently not rendered because they are outside the visible grid space. AdvancedGridListData's rowIndex property only gets me the row index of the renderer relative to the range of visible grid rows, i.e. when I scroll down the grid, a data item with an index greater than 0 gets the rpw index = 0.

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







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