I'm trying to create in Flex a Tile view that shows some images that a user has.
The images don't have the same size, some are small and some are big.
What I'm trying to do is to use a List and create an ItemRenderer that has an Image property which displays the user images (the images are passed to the source property of the Image Obje...
Hello,
I have a dataGrid component in flex. My grid has few rows. I simply want to make the last row bold. I just can't figure how to do it.
I thought about an idea : create a factory that gets parameters so that i can pass the itemRenderer the total count of rows. But, i don't know how to check the current row in the itemRenderer itsel...
My setup is pretty basic. I have an s:List with a custom itemRenderer and a dataprovider. What I would like to do is access the generated instances of the item renderer but I have no idea how.
Here is the code for the list:
<s:List id="layersList"
borderVisible="false"
allowMultipleSelection="true"
...
Hi!
I am trying to get the selected date on the datagrid. I used the itemrenderer to display the datefield on my datagrid.
<mxataGridColumn dataField="dt" headerText="Date of Transaction" itemRenderer="mx.controls.DateField" rendererIsEditor="true" editorDataField="selectedDate"/>
Thanks!
...
With the default TreeItemrenderer it is possible to enable automatic word wrapping depending on the tree width by setting wordWrap=true and variableRowHeight="true" in the tree control.
I would like to enable this behavior in a MXTreeItemRenderer (a wrapper for using spark components as mx itemrenderer).
I used the MXTreeItemRenderer cr...
Hello,
I have prepared a simple test case for a PopUpButton opening a TileList with black and red entries and it mostly works, but has 2 annoyances.
I've searched a lot, tried several variants (added [Bindable] members in my renderer; added color member to the bids array; created my public override set data() method; ...) and has bee...
How to style parts of the tooltip e.g. bold? I’m generating a tooltip in an itemrenderer for an datagrid, displaying the column name and then the value: I want to display the value bold…
public override function set data(value:Object):void
{
var dg:DataGrid = this.listData.owner as DataGrid;
var dataField:String = (dg.columns[this.l...
I use Item Renderer in List control. But when drag started I get error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at MemberRenderer/set data() etc.
Can anybody help me?
My ItemRenderer:
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" width="10...
We know already Datagrid defult sorting , when we click on header of dategrid then automatically sorting records well . But how can we sort within inline itemreander linkfield label in datagrid . In project defult sorting properly work in datagrid but linked field column only not sorting ?
Is it any way to sort functionality? if u know...
Hi
I was wondering if anyone had any luck with the following senario in flex.
I'd like to be able to have a custom item renderer which delegates to another renderer inside.
The reason for this would be in a datagrid for instance displaying a checkbox if the dataprovider for the row had a boolean value. Using the default item renderer ...
I'm trying to reach the dataField of a DataGridColumn in the itemRenderer. Below is the dataGrid:
<mx:Script>
<![CDATA[
[Bindable] public var weeksOfMoth:ArrayCollection = new ArrayCollection([
{monday:30, tuesday:31, wednesday:1, thursday:2, friday:3, saturday:4, sunday:5},
{monday:6, tuesday...
I have a Spark List with a custom ItemRenderer. The ItemRenderer contains a custom component that is visible only when the ItemRenderer is in the selected state, e.g.:
<components:MyCustomThing id="customThing" left="158" top="22" includeIn="selected"/>
I've stripped down MyCustomThing to the bare essentials, namely:
<?xml version="1...
What I'm trying to do is have a 3 state tree expansion.
I have three different icons for "expand" "collapse" "semi-expanded" which I want to use to show a partially populated tree control with all nodes initialized to semi-expanded state and then on clicking the "semi-expanded" icon it gets data from server and populates the tree and op...
I have created a custom multiline item renderer for mx:Tree component. Important to mention that my item renderer has two UITextFields in it. Sometimes (depends of the input data) only one of UITextFields must be shown, so when second UITextField is not needed I hide it and recalculate the height of my item renderer. According to my test...
hi,
i have a tree of nodes that i dont want some type of nodes to appear in the tree, i can check the data on tree item renderer for each specific node type, so i have one type that i dont want it to be shown as tree node, like it doesn't exist.
if(this.data.type == TypeEnum.id){
this.visible=false;
this.height ...
Hi,
I have a Datagroup with a custom item renderer the momment I bind it to XML from an http service it stops working.
My XML:
<SDLIST>
<chartlist>
<reportname>FACTORY STATUS</reportname>
<reportimage>file:/D:/Work/RapidReport/Images/Charts/Vertical-Linear-Gauges.png</reportimage>
</chartlist>
<chartlist>
<reportname>FACTO...
I need to make a custom list based component that orders the items in its data provider in tile format (using tile layout). Also, the component should have a maxNumberOfItems, based on which a number of "empty spots" must be rendered if the length of the data provider is less than maxNumberOfItems. What I do not want is affecting the da...
I have 2 Spark List with custom Item Renderers. I'm working on an application that enables users to grag these Item Renders from one List to the other. When one of these IR is dropped in a new position or in another List, I'm updating the dataproviders: remove the object from one list's dataprovider and adding it to other's dataprovider....
Is it possible to destroy/close open item editor or item renderer of a datagrid in different mxml page?
I heard about the functions editedItemRenderer and destroyItemEditor on Datagrid. Can I use these functions in different mxml page?
...
Hi all,
I want to create a list of progress bars and update the list accordingly.
I have group data in an Array as
<mx:Array id="arr">
<mx:Object label="Group One" min="0" max="200" currentValue="60" />
<mx:Object label="Group Two" min="0" max="300" currentValue="50" />
</mx:Array>
The values in the array object in...