Flex :: Display Grid Lines In A List?

May 27, 2011

I am using a spark list control to display certain items with my custom Item Renderer. I am trying to achieve the following: (1) show a separating line between rows in my list control (2) even when not a single row has been added, I want a horizontal grid lines to be displayed in the background

I am not sure whether (1) and (2) can be achieved in one go. I can solve (1) by modifying my item renderer to have a border, I guess. But I want to know whether there is a better or more conventional way.

View 1 Replies


Similar Posts:


Actionscript :: List Displaying Multiple Lines Adobe Flex?

Mar 30, 2011

Im currently creating a list in Adobe Flex/Actionscript for a person search app. At the moment, the list shows 1 line of text:

<fx:Script>
<![CDATA[
import model.PersonSummary;

[Code].....

View 3 Replies

Flex :: Add Java Object Bean List In Data Grid?

Dec 25, 2010

I am using flex with java.

I am fetching data from DB and put in object bean by setter and getter . and make list of beans.

this list i want to show in data grid in flex.

View 1 Replies

Flex :: Identify All The Display Objects In The Display List?

Jun 28, 2011

How do I identify all the display objects in the display list in ActionScript, bellow the one that I have clicked? All the other objects are shadowed by the first one. What if other objects have visible parameter as hidden?

View 1 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

Flex :: Flash - Put A Drop Down List And Date Selector In An Advanced Data Grid?

May 11, 2010

I wish to have a standard row with string items except two items,no 1 there is a date field and I need a date selector for it.no 2 in another cell of the row I want to put a drop down list box containing text "40" and "20" or you can manually edit the cell so that it displays what ever input you decide (other than 40 and 20)

View 1 Replies

ActionScript 3.0 :: Adding Set Of Grid Lines To Movieclip Using For Loop

Jun 7, 2009

I am dynamically adding a set of grid lines to a movieclip using a for loop. And I was wondering how I go about removing all of them so that I can add another set of grid lines to the same movieclip.This may sound weird but what I am doing is dynamically creating a table from an array and I wanted to dynamically add gridlines in between the table entries depending on how many entries there are in the array. I got this to work fine but when you go from one table with more entries to a table with less then the grid lines from the longer table are still there.Hence I want to be able to remove all the grid line instances before creating the next table.

View 6 Replies

Flex :: How To Display A FileSystemList List In As3

Apr 23, 2011

I am working on an air-application but written in as3. How can I still display an fileSystemList-Component(flex) written in actionscript?

View 1 Replies

Flex :: Display List ItemRenderer Index?

Aug 2, 2011

Is there a direct way to get the item index of the data inside an itemRenderer? I need to display the item number against each item. I am currently doing a workaround and won't allow reuse of my itemRenderer component.

var index:int = model.dataColl.getItemIndex(data) + 1;
itemNo = index.toString();

This is what i am using now, it works, but the concepts of component reuse and data abstraction are compromised.

I am using Flex 3.

View 3 Replies

Flex :: Display Paging In Horizontal List?

Nov 2, 2011

I need to display set of images in horizontal list. The list needs to be controlled with next and previous buttons. Moreover I need to display paging showing no of images per page below the list.

View 1 Replies

Actionscript 3 :: Display List Architecture In Flex?

Mar 7, 2012

I'm asked about Display List architecture in Flex at an interview.

View 2 Replies

Xml :: Flex - Display A List Of Items In A Datagrid From A XMLList?

Oct 19, 2009

I am trying to display a list of items in a datagrid from a XMLList.

<Series no="1">
<file>
<filenum>1</epnum>
<prodnum>4V01</prodnum>

[code]...

My current code allows me to retrieve every Series into an XMLList and then i have a nesteddatagrid class that allows me to do things like.

<classes:NestedDataGrid width="100%" height="100%" id="gridFiles" dataProvider="{filesList}" >
<classes:columns>
<mx:DataGridColumn headerText="Season" dataField="@no" width="60"/>

[code]...

However this displays the datagrid with two rows, the first row has 1 in the Series column and then the two files crammed into the second cell in the same row. The second row is the same but has the number 2 in the Series column and the two series #2 files crammed into the cell next to it.If i do not use the nested data class i can pull the files using Series.file instead and all 4 of the files list correctly, however i do not get the Series number for each...

View 1 Replies

Flex :: Resize A SpriteAsset Without Adding It To The Display List?

Mar 31, 2010

I have an embedded image asset (with a scale9 grid), and I'm trying to get the bitmapdata when it's resized, but I can't seem to do this without adding it to the display list.

I try this:

spriteAsset.setActualSize(w,h);
spriteAsset.width = w;
bmd.draw(spriteAsset);

But when I then draw out the bitmapdata with graphics.beginBitmapFill(), I just get the original un-stretched image.

Or do I need to take 9 separate BitmapData images and make 9 separate bitmap fills?

View 2 Replies

Flex :: Populate The Tree Component With The Display List?

Sep 29, 2010

Is there a way display the display list in the Tree component. I could parse the display list into xml but then I would not be able to create a reference to the display object.

View 1 Replies

Flex :: Custom Component Not Updating Display List?

Jul 12, 2011

I've created a component which is basically a meter (extends skinnable container). The skin to the component contains two rectangles (background and the actual meter). This component receives an arraycollection with the following fields value, max and min(the arraycollection I am passing is Bindable). When I initialize and pass the data to be used to draw It works great (keep in mind - only works the first time). I've created a button that changes the data array and shows the current meter value. Apparently the meter's value is changing everytime I modify the ArrayCollection I've set to be used for rendering.(dont want to say "dataProvider" because it is not a Flex dataprovider, just a variable )... here is the code...

public class meter extends SkinnableContainer {
[SkinPart( required = "true" )]
public var meter:spark.primitives.Rect;

[Code]....

View 1 Replies

Flex :: Display A Message That A Spark List Is Empty

Jul 13, 2011

how in Flex can I display a message within a Spark List component that states that the List is empty. For example if I have a List showing number of jobs outstanding, if my List is empty then I want a message displayed across the List stating "there are no jobs to perform".

I'd rather not use an Item Renderer because then it's an Item (the list is not empty) and the item can be selected.

View 2 Replies

Flex - Display An ArrayCollection Of Sprites In A List Component?

May 22, 2009

I have an arrayCollection of objects that extend Sprite, and have bitmaps within them. I want to display these in a list (or some other component that would allow a user to scroll through them, and see their associated data.)

When I do: myList.dataProvider = myArrayCollection

the list just shows a bunch of lines of [Object, Item] instead of the visual sprites.

Here is a simplified version of my Object:

public class myUIC extends UIComponent

[Code]...

Tried many different ways to get it to show up in a List, but can't do it.

View 4 Replies

Flex :: Horizontal Tile List To Display Image Gallery

Dec 5, 2009

I am using a horizontal tilelist in flex to display an image gallery with only one item in horiz. tilelist being shown at a time. I have next and previous buttons on both sides. The problem is I want to display a particular item/image in that list when user clicks on a thumb image from another thumbimages tilelist at bottom. I used someTilelist.selectedIndex property but it just selects that particular index in list, it does not show that particular item/image. I want the list to show that particular image, not just select it. Please take note that the horiz. tilelist shows only one image at time.

View 1 Replies

Flex :: Resize Nested Mx:Lists To Display All List Items?

Aug 17, 2010

I'm trying to create a nested list in Flex which will dynamically resize to display all children when the data provider changes.

Here's a simplified example which illustrates the problem:

<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;

[Code].....

The list sizes remain static when items are added.

If I add variableRowHeight="true" to the outer list then the inner lists will correctly resize. But the outer list itself remains at a fixed size.

How can I have both lists resize automatically to display all children?

View 1 Replies

Actionscript :: Target And Display An Object Of List Control In Flex

Oct 1, 2011

i have made a list control. i want to display the name of the objects in it in a text control box

the code i am using here is

public function add(event:MouseEvent):void
{
var str:String;
str = mylistcontrol.dataProvider.getItemAt(0).toString();

[Code]....

The problem with this code is i am using index value of 0. however i want to display the name of object on which i have clicked or which is highlighted.

View 1 Replies

Actionscript 3 :: Flex: Can List Be Used To Display Control In Equally Sized Tiles

Sep 2, 2010

In one of the application I am working, List has been used. I am required to display items in the form of tiles. I do not want to change the component as of now. Is there any way to achieve this layout in list only.

View 3 Replies

Flash :: Flex - Implement A Framebuffer With BitmapData To Replace Its Display List?

Dec 31, 2010

If anyone has a framebuffer implementation, could you please share some performance benchmarks? Or at least tell me how much difference are there in your point of view. I need to make a flash game which has almost 1K 50x50 bitmaps moving on screen(more than 10K display object in display list), and want to know if flash can support it well on a normal PC with at least 30FPS.

View 2 Replies

ActionScript 3.0 :: Dynamically Add Component - Flex Did Not Reserve Space For List To Display

Jul 21, 2009

Here is part of my code in short:

[Code]....

I realized that if I do addChild, I can't really see the dynamically added component, since flex did not reserve space for my List to display. So I do parentDocument.addChild, and then it appears no problem. My question is since it's being added in the parentDocument, so it is suppose to be a component belong to parentDocument, so is that component still be able to call this handleMouseDown? From my experience, it's still able to, but which doesn't make sense to me. Can someone explain a little about why it can still work, or any better approach other than parentDocument.addChild

View 2 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

ActionScript 3.0 :: Altering List Box Lines?

Jan 27, 2011

I am using a listbox and have worked out how to alter the format of the text. However, how do i:make the black lines between each item a different colouralter the height of each item - I thought that by making the font bigger, and the leading this would force the list item deeper - but it didn't work

View 3 Replies

Flex :: Applying PaddingRight To Grid Column Not To Grid Header?

Mar 31, 2010

Whenever I add paddingRight to a column in the flex grid, it adds the padding to the header as well.Is anyone familiar with how I can add paddingRight just to the column and not to the header? Below is the column code where I was specifying the padding.

<mx:DataGridColumn width="60" headerText="Type" dataField="Grade" headerStyleName="headerLeft" textAlign="left" draggable="false" resizable="false" headerRenderer="GridHeaderRenderer" paddingRight="5"/>

View 1 Replies

ActionScript 3.0 :: XML Lines Into Flash Component List, And Saving?

Apr 12, 2011

I want to make for my fellow classmates. The idea is to have to lists with selectable items in each of them. And they are supposed to be tasks, one list with the "To Do" items, and one with the "Done" items. What I want is that the .swf can remember(save) what items I have moved from one list to the other from time to time.

Example:
List1(To do list):
* Homework [code]..........

and when I click on "Homework" and a button, it would go from list1 to list2(i have made this work).

List1(To do list):
* Fix motorcycle
* Clean the garage[code]........

But of course when I close the .swf, the lists would be reset until next time I open it.I was thinking of something with .xml files for each lists, so I would rewrite the .xml's when I transfer one thing from list1 to list2.

View 0 Replies

Flash - Sorting Display Objects By Their Display List Depth

Aug 5, 2011

I have a list containing display objects from throughout the application (insertion order). I want to process the list either top-down (parent, child) or bottom up (child, parent). The only requirement is that either a parent is processed before any child or vice versa a child before its parent. What is a good approach? This question is not about sorting a list. It's about retrieving the depth of a particular display object.

Example
Display list:
A (root)
B1
C1
C2
D1
B2
......

My list:
list = [E1, F4, A, B2, B1, C3, ..., N9, N8]

Bottom-up:
N9, N8, F4, E1, C3, B2, B1, A

Top-down:
A, B2, B1, C3, E1, F4, N9, N8
Does not matter if N9 before N8 or N8 before N9. Important is that any N is before M (first run) or any M before its children N* (second run).

View 2 Replies

ActionScript 3.0 :: Test If A Display Object Has Been Added To Display List

Mar 6, 2008

Is there any way to test if a display object has been added to the display list?

View 9 Replies

Flex :: Resizable Grid Row And Grid Item

Sep 24, 2009

I have a mx:Grid component in my flex application. But I would like to resize it by clicking and dragging in the border. This component doesn't allow doing that.I want to put a panel in each gridItem of this Grid component and resize it.

View 1 Replies







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