Flex :: AdvancedDataGrid Set Highlighted Element Programmatically?

Dec 3, 2010

I'd like to be able to tell my ADG to set a specific row to be highlighted and update the adg rendering to match such new value. Note: highlight != selected.
I thought perhaps setting highlightUID would do the trick, but I can't seem to get the ADG rendering to update.

View 1 Replies


Similar Posts:


Flex :: Add Columns Programmatically And Set Grouping On AdvancedDataGrid Control?

Aug 22, 2009

on advancedDataGridControl in flex3 , how to do the following:

1. Add Columns at runtime ( programmatically )

2. Specify the column grouping ( programmatically )

3. set method to be used to show summary row ( programmatically)

View 1 Replies

Flash :: Audio / Video Element Control Volume Programmatically?

Nov 10, 2009

Flash has an API to control the volume for a Sound object. Can volume be controlled like this currently or is there support planned for <audio> or <video> html5 elements?

View 2 Replies

Flex :: Selected Item In A Tree Is Not Highlighted After Dragging And Dropping It?

Jul 24, 2011

I have a Flex (3.5) Tree with drag & drop support, but the problem is that after I drag an item (node) and drop it, it's supposed to be the selected item in the tree, but for some reason it's not highlighted.

View 1 Replies

Customize Highlighted Data Point Circles In Flex Charts?

Oct 5, 2011

I need to customize a look and feel of standard Flex LineChart with LineSeries. I cannot figure out how to change default circles drawn when the mouse pointer is over a data point.

View 3 Replies

Flex :: Changing The Color Of The Highlighted Line In Debugging Mode?

Nov 15, 2011

Thing is, after applying a new color theme for my Flash Builder enviroment, the only thing I couldnt find was an option to change the color when you enter in debug mode. When you have a brakpoint there, the color of that line change to light green, and I got dark background and white characters.. so, I dont see anything, I have to manually highlight the line.. really annoying.

View 1 Replies

Flex :: Represent HTML Table Structure In Flex DataGrid Or AdvancedDataGrid?

Feb 12, 2012

I'm using Flex 4 and I need to render the data that resembles HTML Table with row span in a Flex component.My inclination was to use a DataGrid but I believe that rowSpan is not supported for that component. I looked at the AdvancedDataGrid but the user does not want to have a tree-structure in any of the columns. Looking to see if there are any hints/tips for modifying the DataGrid or AdvancedDataGrid to produce an "HTML Table with rowspan" look.

View 1 Replies

Flex :: Flex Drag And Drop Between AdvancedDataGrid With Custom ItemRenderer

Feb 26, 2011

I have implemented drag and drop between 2 AdvancedDataGrid, but the default behaviour from Flex displays the row data during the drag using the grid item renderer showing all 5 columns.

Instead, I would like to display an icon / image or my own custom item renderer during the drag and drop.

View 2 Replies

Flex :: Detect If Flex AdvancedDataGrid ItemClick Is Actually A Drag?

Sep 2, 2010

Is there any way to detect if AdvancedDataGrid itemClick event is actually caused by the user dragging? I'd like to take action on click, but ignore drag.

View 1 Replies

Flex :: Get AdvancedDatagrid To Display Just One Row?

Aug 5, 2009

I have an AdvancedDatagrid, whose dataProvider is an ArrayCollection that contains 1 row of displayable stuff.Flex continues to display about 6 rows, the top one filled, the rest blank.I've set the rowCount="1", with no luck.

View 3 Replies

Flex :: AdvancedDatagrid MultipleSelection?

Jun 3, 2010

after multiple Selection in a advanced datagrid, I want to check if the clicked row, was already selected. Anyway my idea below (in the nested if clause I want to check if the newly clicked item's processing data is already in the added Array Collection) is not working, but I assume there must be a better way to differiante if an click was made on a already selected row.

model.processingData = out;
if (model.selectedIndices.length > 1){
//check if item already added

[code].....

View 1 Replies

Flex :: Add Row Dynamically To AdvancedDataGrid?

Dec 14, 2010

I would like to add new row on the fly (runtime) to my AdvancedDataGrid.I can add it to the data model, but couldn't find a way to make the table render and show the new row.What i am seeking for is to create an effect of expandable item, where clicking on row will show "additional information" (like a drawer) and clicking on row expand button will reveal it's children.I saw examples of this for dataGrid (http:url...), but not for AdavancedDataGrid.Only way I found to do this is to add a new child and use openItem, but this cause the other children to be visible as well.

View 1 Replies

Flex :: AdvancedDataGrid GroupingField?

Sep 9, 2011

need my AdvancedDataGrid group by the name of the person, but I'm having trouble because the groupingField not accept "objectPeople.idPeople"

the name of the groupingField not accept "objectPeople.idPeople"?

GroupingField name="people.idPeople" <--error??

View 1 Replies

Flex :: 4 - Scroll Flex Spark Datagroup To Maximum Amount Programmatically

Jul 6, 2011

I have a spark skinnable component which contains a datagroup with images. The datagroup is scrolled by hovering the mouse over it. Everything works fine except one thing: after I change the datagroup provider, I need to scroll down automatically. The problem is the images are not loaded immediately after I set the provider so (contentHeight - height) does not yet represent the actual maximum scrolling position. Is there an easy way of telling the datagroup to scroll down as its content loads? Because the workaround seems to be not so straightforward. This is the code for scrolling(thumbnailStrip is my datagroup):

[Code]...

View 1 Replies

Flex :: Get Item From AdvancedDataGrid Given Index

Jul 7, 2009

I've got a subclass of AdvancedDataGrid showing a tree-like data structure. How can I, given the index returned by calculateDropIndex, get the item at that index? After reading through reams of code, it seems like the least terrible way is:

var oldSelectedIndex:int = this.selectedIndex;
var mouseOverIndex:int = this.calculateDropIndex(event);
this.selectedItem = mouseOverIndex;
var item:* = this.selectedItem;
this.selectedIndex = oldSelectedIndex;

The other option seems to be tinkering around with the iterator property... But, judging by the way I've seen it used, that will get pretty harry pretty quickly too. So, how can I get the item at a particular index in an advanced datagrid without going insane?

View 3 Replies

Flex :: ItemRenderer For TreeColumn On AdvancedDataGrid?

Apr 14, 2010

Is it possible to use a renderer for for a treecolumn in an advanceddatagrid and still keep the hierarchal functionality? If I use a renderer provider I lose the the arrow for the tree dropdown. I want to keep the tree functionality and change the display of the column.(and not just the folder image)

<mx:AdvancedDataGridRendererProvider column="{titleCol}" depth="1"
renderer="com.something.titleColumnRenderer"/>
titleColumnRenderer:

[code].....

View 2 Replies

Flex :: Execution Timeout In AdvancedDataGrid

Oct 25, 2010

I've a problem, I'm using an AdvancedDataGrid. It loads about 3000 records with about 20 columns. I constantly get Flex execution timeout because the grid executes a lot inside LayoutManager. How can I make it asyncronousely or faster at all?

View 2 Replies

Actionscript 3 :: Print AdvancedDataGrid From Flex 4

Nov 9, 2010

I have an AdvancedDataGrid and need to export it as PDF for printing. Can you suppose me some useful links or ideas on that topic?

Note : is another better sugestion that make this possible, working with Java? Need a quick response.

View 1 Replies

Flex :: AdvancedDataGrid: How To Tell How Many Rows Are Currently Visible

Mar 8, 2011

how to query an ADG (or its rows) to figure out how many rows are currently visible (i.e. not collapsed) when displaying different levels of a hierarchical collection?In other words I'd like a function that tells me that 7 lines are visible in this view and 1 line is available in this one.

View 2 Replies

Flex :: Sort Columns In AdvancedDataGrid?

Mar 15, 2011

I'm making an application where I display an AdvanvedDataGrid with one column with dates(in format DD/MM/YYYY) and another with datetimes (in format HH:MM). I'd like to sort dates according with the datetimes as well(just clicking in the header of the column), there is an examplen of the expected behaviour:

02/02/2011 | 10:42
03/02/2011 | 09:45
02/02/2011 | 11:45
03/02/2011 | 11:30

[Code]....

_currentDatosBusqueda is an arraycollection I receive from the Server (with the correct format of dates and datetime).

View 2 Replies

Flex - AdvancedDataGrid ItemRenderer Ignored W/HierarchicalData?

Jun 13, 2011

I am using an AdvancedDataGrid with some hierarchical data. In the first column, I want to indicate whether or not the "name" field is editable by graying out the text for the "name" property of my objects. It's very odd, but when I set the AdvancedDataGridColumn's dataField property to "name", and have it in the first column, it seems to completely ignore my inline ItemRenderer. If I change the dataField property to something else, or change the column ordering so the Name column isn't first, everything suddenly works.

Let me know if any more code would help, but here is the simple ItemRenderer I'm trying to use in the first column:

[Code]...

View 1 Replies

Flex :: Expand A Row Of AdvancedDataGrid Without Using HierarchicalData?

Aug 4, 2011

Expand a row of AdvancedDataGrid without using HierarchicalData?[url]...

View 2 Replies

Flex :: ContentBackgroundAlpha Has No Effect On AdvancedDataGrid?

Aug 9, 2011

I am trying to make the AdvancedDataGrid blend into the background by setting contentBackgroundAlpha=0. It doesn't do anything. How come?

View 1 Replies

Flex :: AdvancedDataGrid ListItems Different Behavior?

Feb 20, 2012

I have the following XML, that is the dataprovider (as a Hierarchicaldata) of an Advanced DataGrid:

public var reqData:XML = <root>
<Requirement ID="REQ-GEN-0.1" title="exigence gen 1" description="blabla 01" testable="true"/>
<RequirementSet ID="GUI REQ">

[code]....

View 1 Replies

Flex AdvancedDataGrid With IHierarchical Objects?

Mar 7, 2012

I have a problem with the model classes of my advancedDataGrid. Here are my model classes:

[Code]...

View 1 Replies

Actionscript 3 :: Sorting In AdvancedDatagrid In Flex 3

Aug 25, 2010

I am using in-built sort functionality provided by AdvancedDatagrid.I have multiple columns and suppose I have 10 rows. All 10 rows have the same data in one column.If I sort on that column, then it sorts and the data in other columns which is different is also being sorted (reshuffled).My requirement is if I am sorting on a column with same data, it should not sort the data in other columns.To understand it better, check the link menioned below URL...In the above link mentioned, if you click on region column, other columns like territory or actual will change the values i.e. the rows gets reshuffled.This should not happen as we are sorting on a column which has same values. Does anybody know how this can be handled in Flex 3 for AdvancedDataGrid.

View 1 Replies

Flex :: Combobox Backspace Or Delete Key Does Not Delete Highlighted Text

Mar 26, 2010

I am implementing a flex auto-suggest combobox - as the user types in each character: Consider the string 'Stackoverflow' and user input = 'st'

1) the data provider is filtered to show all items starting with 'st'
2) text is set to auto-suggest string such that the un-typed part is highlighted.

So for instance, the combobox text may contain st'ackoverflow', where 'ackoverflow' is highlighted using setSelectedIndex()When I hit back-space or delete, and check the 'this.text' value, I expect that the last un-highlighted character ('t' in the above case) gets deleted and the data provider is filtered to show all items starting with 's'. However the text property contains 'st', as before

View 2 Replies

Flex :: Flex - Programmatically Close A DateField Component?

Oct 17, 2010

I'm using a dateField component (with editable = true) as an itemEditor in a dataGrid. Interestingly, when editing the textInput part of the dateField it doesn't seem to react to an ESC keydown as I would expect, i.e. reload old dateField value and give up focus. This seems to be standard for most other components, but not for as most other components do.

How would you go about implementing such behavior? I can listen to keydown == escape on the TextInput portion, but just realized that I don't know how to tell dateField to give up focus and politely close - in fact I'm not even sure that's the right strategy (maybe I should work at the DataGrid level?

View 1 Replies

Flex :: AdvancedDataGrid Tree Custom Drag

Jul 20, 2009

I'd like to implement a custom drag on an AdvancedDataGrid tree structure, which only allows the drag on the branches (not leaves).I'm having much difficultly with this, trying to use the MouseDown event, but not having luck! I think I've got the mousedown able to figure out if the item is a branch of leaf. Any help on how to perform the custom drag with an advanceddatagrid?? [code]

View 2 Replies

Flex :: Drag And Drop Onto AdvancedDataGrid Cell

Sep 14, 2009

How do I determine which Flex AdvancedDataGrid cell - row and column index - I've just dropped onto? calculateDropIndex seems to give me the row, but how do I get the column?

View 1 Replies







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