A ComboBox takes a dataProvider that is an array of objects. You cannot
hook up a ComboBox to a visual component the way you have done below.
That is for components like TabBars and LinkBars, which can take a
ViewStack object as its dataProvider.
What you would want to do is something like:
?xml
Yes - You would want to do listen to your checkbox's click event and
then programmatically add or remove columns by using the API provided by
the DataGrid component.
Below is something very simple and not too reusable, but you get the
point..
mx:Script
import mx.controls.gridclasses.*;
var
Do you mean you are trying to disable an accordion
header within your accordion?
To do that, use the accordions getHeaderAt()
method to access the accordion header (it will be an instance of Button) and
set its enabled property to false.
!disable child ones header
mx:Accordion
Are you trying to change the font at a global level
(affect your entire application), or a single view (like a single pane in an
Accordion)?
For modifying styles at the global level, the easiest would be to set a global
type selector. You could also the StyleManager to define new CSS
The fillColors style can be set on the TabNavigator itself and will
affect the tabs for that TabNavigator.
So, you can set the fillColors style in the mxml tag for each
TabNavigator in your application. Something like:
mx:TabNavigator id=first fillColors=[0xEEFF00,0xFF] /
mx:TabNavigator
Hey Stacy
The change event event fires only as a result of
user interaction. So if youre de-selecting a node by changing the trees
selectedIndex or selectedItem properties programmatically, you will not receive
an event.
There are a few ways to get around this. You may
want to
I'm so glad someone is venturing into the world of collections, and I
encourage the rest of you to do so :)
A few points that will help you out as you continue to use collections:
-You can still pass in a plain old Array as the dataProvider to
list-based components. Internally, we wrap that as
Ah, you must be using Flex 1.5? In Flex 1.5 percentWidth/percentHeight
are read only and you want to do something like:
myButton.width=100%;
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rajesh Jayabalan
Sent: Thursday, October 20, 2005
in it are overlapping each other.
Rajesh J
--- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED]
wrote:
Ah, you must be using Flex 1.5? In Flex 1.5 percentWidth/percentHeight
are read only and you want to do something like:
myButton.width=100%;
-Original Message
This is just a though, but is the CheckBox part of the Map component? It
might be easier to separate them out and put your Map component in a
Canvas so you can explicitly position a CheckBox atop the Map wherever
you'd like. The CheckBox and Map can refer to each other just as any
other set of
@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED]
wrote:
Hm, I think I need some sample code to show what is going wrong before
I
can help you out more. Are the children of the VBox themselves using
percentage based sizes? Do any of the children have explicit x, y
positions set?
-Original
Hi-
Try startYear.selectedItem.label in your Model.
Deepa
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of yaagcur
Sent: Wednesday, October 26, 2005 11:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Referencing a combobox label
Please ignore.
Yahoo! Groups Sponsor ~--
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-
--
Well in Flex 2 you'd set the fillColors style to color the slider thumb.
You would pass in the same color for both values for the thumb to have a
flat color, or you can achieve a color gradient by varying the colors
for both the values.
I think the same might be true in Flex 1.5, but I
rowHeight is a property on List-based components. MenuBar does not
derive from ListBase so you cannot set rowHeight on the MenuBar. You
need to set it on the individual menus the MenuBar pops up.
You can use the getMenuAt() method to grab each individual menu from the
MenuBar and set
What format is your data in? I'm guessing you need to set dataFields on your DataGridColumns to instruct the DataGridColumn which field or property in the dataset to associate with itself.
Try tracing out your data and read up on dataField and labelFunction (labelFunction helps format your
You can delete any portion of an XML document by using the 'delete'
operator in e4x.
-deepa
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of tyombria
Sent: Saturday, May 06, 2006 12:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
If you're using Flex 2, check out triggerEvent in the Validator class.
That allows you to specify which event triggers the validation. I
believe by default this happens when you remove focus from the
component, but you can use triggerEvent to customize the behavior.
-deepa
-Original
Title: Flex 2 beta 3 available
You need to re-build your swfs to be
compliant with the Beta 3 source code and be sure to use the player that is packaged
with the Beta 3 build. There should be documentation on the labs site that call
out code changes in the Flex framework and in the
There is the labelField property, which
you can use to specify which field in the objects of the dataProvider should be
used to display the label for each item. If you require further formatting, you
can set a labelFunction which is a function that is run on each item to
determine the
You need to be sure your assets are embedded in your swf, then all you have to do is specify an iconField on your Menu (ie: myMenu.iconField = @icon).
Here's a simple working example:
mx:Script
![CDATA[
[Embed(source=sendBack.jpg)]
public var _sendBack:Class;
import mx.controls.Menu;
Set the allowMultipleSelection property to
true.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of pateyog
Sent: Monday, August 14, 2006 3:09
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Select
Multiple Dates
Does
Hi Jeff
MenuBar.getMenuAt() returns a reference to
a Menu. getMenuAt() is a method on MenuBar and menuItems is a property on
MenuBar, which is why you encounter the errors below when you try to use those
APIs on a Menu.
Since Menus are dynamically created as
needed, there is a
@yahoogroups.com
Subject: [flexcoders] Re: Changing color in datagrid URL
That's what I tried first. The color is still black.
--- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED]
wrote:
You can set styles on the LinkButton to control its appearance. So
in
your case, you would add
Tree formats its drag and drop items as treeItems
instead of items which is what the other list-based controls use.
So try:
private function doDragDrop(event:DragEvent):void
{
var
dropTarget:Tree=Tree(event.currentTarget);
doDragExit(event);
var
items:Array
In Flex 2, we did not take rootedness into
account for XMLLists and ArrayLists. This is something that we fixed in the
updated 2.1 build which will be coming out soon.
As a workaround, you can pass the children
of the topics node directly to the Tree
Hello
We fixed a few bugs where this was
happening in Menu and MenuBar. We were not correctly adding and removing the
child menu instances to the SystemManager and eventually the indices would get
out of sync and youd RTE.
These have been fixed since the Flex 2
build went out
The calculateDropIndex method in Tree will
tell you the index of the dropped node and then you can lookup the id of the
node at that location to update your database.
If you need more information then that (ie:
the parent node of the drop, whether youre dropping into an empty
anyone repost it ?
Thanks a lot in anticipation
P-H
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Deepa Subramaniam [EMAIL PROTECTED]
wrote:
Yes - you can add a ContextMenu that pops open when you right click
in a
Flex application. You can use the flash.ui.ContextMenu
Assuming the XMLListCollection created from the myData XML object looks
like this:
public var col:XMLListCollection = new
XMLListCollection(myData.children());
Then you would sort on the category name like so:
private function applyMySort():void
{
var s:Sort = new
Set the the isStyle property to true in your AnimateProperty tag.
-deepa
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dorkie dork from dorktown
Sent: Monday, December 04, 2006 5:25 AM
To: flexcoders@yahoogroups.com
Subject:
state but that
feels like a hack.
dorkie best practices dork from dorktown
On 12/4/06, Deepa Subramaniam [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Set the the isStyle property to true in your AnimateProperty tag.
-deepa
From: flexcoders
A few things: first, you'll have to call preventDefault() on your
DragEvent object to cancel the default behavior so that only your custom
event handler runs. Second, you'll have to add a custom dragOver event
handler so that the DataGrid shows the correct feedback allowing items
to be dropped
to add your own event handlers to override the
default behavior.
-Deepa Subramaniam
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lachlan Cotter
Sent: Tuesday, December 05, 2006 4:13 PM
To: flexcoders@yahoogroups.com
Subject: Re
='blackState'}/
/mx:Application
On 12/4/06, Deepa Subramaniam [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Ah - that is because AnimateProperty is just cycling through all the RGB
values between your fromValue color and your endValue color. What you
may want to do is add an event handler
Hank, you are correct.
Multiple selection was disabled in the Tree for the Flex 2 release. We
have re-enabled it in the next version of Flex which should be out soon.
-deepa
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hank
DataGrid dispatches itemRollOver and itemRollOut events where the event
type is mx.events.ListEvent. A ListEvent event object has the rowIndex
property which indicates the index of the row that contains the item
that was rolled over/out of.
-deepa
-Original Message-
From:
If you know the tab name and how you want it to be
split, you can programmatically insert a newline to force the label to display
in 2 lines.
?xml version=1.0
encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
mx:Script
function manage(){
view1.label =
If you're just trying to force some space between the text and the top
of the component, you can programmatically insert a newline before the
text. This keeps the scrollbar in place but the text pushed down.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Set the vPosition property on your List control to the selectedIndex to have
the visible area of the List jump to that particular selection.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy
Young
Sent: Monday, August 01, 2005 10:51 AM
To:
nesting. Check out the tips and tricks here:
http://www.adobe.com/devnet/flex/articles/client_perf_04.html
Deepa Subramaniam
Adobe, Flex
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dnk
Sent: Wednesday, June 06, 2007 1:54 PM
To: flexcoders
How timely!
I just spoke about this at my MAX talk - the code example and supporting
slides are on my blog: http://iamdeepa.com/blog/?p=7 Look for the code
example and slides called Merged Collections.
Basically what you want to do is write a custom collection that does the
merging of your
Do you have an mm.cfg file that enables tracing and sets the trace
output file name and location?
Here's a technote about how to get mm.cfg set up correctly:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19323
One that is all set up, your trace statements will be outputted to
The SortField objects take the name of the
field in the object to be sorted as a String so your dot _expression_
will not work.
What you can do is write a custom
compareFunction for your Sort object. A compareFunction takes two objects and
returns -1, 0, or 1 depending on which
Hi Kyle
Check out the first line in step #2 in the
technote:
Make sure you have copied the mm.cfg file from your flex_install_dir/bin
directory to the client machine's home directory.
Alternatively, you can create a file, name
it mm.cfg, drop it in your home directory and add
Set the mouseChildren property to false on the Label.
mx:Label id=myLabel text=blabla click=myClickHandler()
buttonMode=true useHandCursor=true mouseChildren=false/
-deepa
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent:
+1 for Head First Design Patterns. The
methodology with which the descriptions and examples are laid out really drill each
pattern into your memory.
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
Sent: Thursday, August 31, 2006
2:02
You can iterate through your collection by
using the IList methods like getItemAt(), which returns an Object. Something
like:
for (var i:int = 0; i
myCollection.length; i++)
{
var
data:Object = myCollection.getItemAt(i);
//do
something with data
}
Alternatively, you can
This is because of the way the depthColors
are drawn. They are only drawn in drawRowBackgrounds() which gets called in
updateDisplayList() so the row background colors are not tweened during the
animation. Ive added an enhancement request to allow for tweening of
background row colors
Yes - you can add a ContextMenu that pops open when you right click in a
Flex application. You can use the flash.ui.ContextMenu class to add
custom menu items to your ContextMenu and then use event handling to
invoke the desired behavior.
Attached is a simple example that shows how you can right
Your DataGridColumns need to specify a
dataField property to determine which field in the XML object to display as the
text for that cell. If you need to customize the text beyond just pulling out
a field from the XML, you can use a labelFunction to do so. I believe the ASDoc
example
What you can do is iterate through the TabNavigator's tabs and disable
each of them. By disabling them, the change event will not get emitted.
Use TabNavigator.getTabAt() and set the enabled property to false for
each Tab.
Now, when you disable a Tab, the Tab will assume the look of its
disabled
@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews
Sent: Monday, September 18, 2006
12:45 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How can
I block a TabNavigator ?
- Original Message -
From: Deepa Subramaniam [EMAIL PROTECTED]com
Hi Rick
setFocus() is the correct method to use to
put focus on the TextInput, including the cursor blinking within the TI.
But are you using Firefox? Your issue is a
fact of life in the Firefox world. Youll notice that in Firefox, calling
setFocus() off any of the
You can set styles on the LinkButton to
control its appearance. So in your case, you would add a color (and perhaps an
underline) style to the mx:LinkButton tag.
mx:LinkButton label={data.strUserEmail} color=#ff
click=navigateToURL(new URLRequest('mailto:'+data.strUserEmail),
Hi -
I looked into this, and I think the easiest thing to do would be to catch
the combobox's open() event and manually move the dropdown over by changing
the dropdown's x,y positions. Something like the following code below. Note,
you might have to throw a doLater() call in there to delay the
Other thing that I don´t know how do, is to prohibit
to users to be
able to change the columns width.
If you set resizableColumns=false on the DataGrid, the user will not be
able to stretch the columns by dragging on the grid lines between the headers.
-Original Message-
Hi Navita -
Below are some of the more important tips you can implement to improve
application startup and runtime performance:
1. Minimize container nesting. Double check your code and try minimizing as
much container nesting as possible. Verify that every container tag is
needed, and not
Hi - I've looked into this, and it looks like to do this, you will have to
use a row or cell renderer on the Tree. The documentation has examples on
how to write a cell renderer, and I had emailed a row renderer example out I
think yesterday to flexcoders. Using these examples you can have your
Set the editable property to true; by default it is false.
-Original Message-
From: naidim8 [mailto:[EMAIL PROTECTED]
Sent: Friday, March 25, 2005 12:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Editable DataGrid
Is there a way to make the DataGrid editable, so you can
For Tree, you can use defaultLeafIcon, folderClosedIcon and folderOpenIcon.
Simply set these properties to point to an embedded asset in your
application.
-Original Message-
From: Spike [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 9:27 AM
To: flexcoders@yahoogroups.com
Re-drawing many target views, especially if their complex, during a
transition animation can sometimes cause the effect to play choppy. There
are a few tips to tweaking your transition effect to play in a smoother
fashion. Check them out in the Flex Client Application Performance White
Paper:
I don't see a mx:RadioButtonGroup tag in your code anywhere. This tag is
what defines the group which your RadioButtons will work as a single control
under. You can also use this tag to specify the labelPlacement for all the
RB's in the group.
So I think what you need is outside of your
Looks like you want to get rid of the rollOverColor, so you should set
it to be the same color as the backgroundColor of the encompassing container.
To mouseover and change the text color, you want to set the textRollOverColor
style.
Something like this should work:
?xml
You can use the 'menuShow' event to find out when someone has moused down on
the childless top-level menuitem.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Sent: Friday, April 15, 2005 11:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Hi -
You can set whichever range property you want (disabledRanges which disables
single or multiple days or selectableRange which sets a range of dates which
are selectable) in ActionScript or at the tag level. Both those properties take
an Object which contains two properties - rangeStart
: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]
Behalf Of Deepa Subramaniam
Sent: Monday, January 16,
2006 4:38 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DateField:
selectableRange
Hi -
You can set whichever range property you want
(disabledRanges which disables
single
: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]
Behalf Of Deepa Subramaniam
Sent: Monday, January 16, 2006 4:38 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DateField:
selectableRange
Hi -
You can set whichever range property you want
(disabledRanges which disables
single
-996-9416
-Original
Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf
Of Deepa Subramaniam
Sent: Monday, January
16, 2006 7:09 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
DateField: selectableRange
Setting the selectableRange means
only
Hi -
You can use databinding to plug in your photoID dynamically.
mx:Script
var photoID:Number = 1234;
/mx:Script
mx:Image id=myImage
source=http://www.mySite.com/pictures/{String(photoID)}.jpg /
-deepa
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
You could try programmatically removing the column and then
adding it back in when you needed it using the removeColumnAt()/addColumnAt()
methods? Just keep a reference to the removed column for when you need to add
it back in later.
-deepa
-Original Message-
From:
Well there's many ways to do this - it depends on what workflow you want your
end user to go through. Like you said, you could add a clear button. You could
have the DateField clear its selected date when it is opened (hook into the
open event and set selectedDate to null). You could have the
Hi -
We provide the HScrollBar and VScrollBar components for you to instantiate as
standalone scrollbars. Here's an example of a vertical scrollbar that controls
the scrolling in a horizontal scroll bar.
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
mx:VScrollBar id=v
?
Sree
- Original Message -
From: Deepa Subramaniam
To: flexcoders@yahoogroups.com
Sent: Thursday,
January 26, 2006 12:43 AM
Subject: RE:
[flexcoders] Stand-alone scrollbar possible?
Hi -
We provide the HScrollBar and VScrollBar
components
Have you tried parenting the Menu to the Application or some
higher-level container (ie: pass a container instead of null as the first
argument in createMenu())?
__
Find Me:
2701 - 601 Townsend
415.832.7668
[EMAIL PROTECTED]
-Original Message-
Hi -
backgroundAlpha will only work if a backgroundColor or backgroundImage
is specified. Try adding one of those and then setting backgroundAlpha and you
should achieve transparency.
Deepa Subramaniam
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL
Just to add some context, by marking your page and perPage variables with the
Bindable metadata, Flex will monitor those properties for changes and generate
events for when something in that property chain changes. This is a new
mechanism added in Flex 2.
Hi Jonathan I cant seem to reproduce your
case. I cant size my TabNavigator such that the label for a tab is not
truncated when not selected, and then truncated when selected. Could you send
me some code that reproduces that case?
Thanks,
deepa
-Original Message-
From:
Flexible Master of the Web
In the game of chess, it's important to never let your
opponent see your pieces.
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Deepa Subramaniam
Sent: Wednesday, February 01, 2006
12:03 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders
Title: Message
Hi - This is a bug
in DataGrid that is already logged in our bugbase. Thanks for the heads
up.
deepa
-Original Message-From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Sreejith UnnikrishnanSent: Wednesday, February 01, 2006 12:34
PMTo:
Try using the cellPress event instead of the change event on DataGrid.
Something like this should be what you want:
mx:DataGrid dataProvider={col} cellPress=trace(event.columnIndex +
event.columnName) /
-deepa
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Yes, you'll want to use the vPosition property, which is available on all the
List components, to scroll your List accordingly.
vPosition can take a value like the row number you want to scroll too. So when
you set the selectedIndex on your List in the 3rd tab, set the vPosition of
that List
Flexible Master of the Web
In the game of chess, it's important to never let your
opponent see your pieces.
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Deepa Subramaniam
Sent: Wednesday, February 01, 2006
1:04 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders
I've filed a bug and its being looked at internally.
deepa
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt
Chotin
Sent: Thursday, February 02, 2006 10:07 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DateField selectedDate
We also provide the HRule and VRule components which you can use to create a
dividing line in a container. You can drop those two components into a
container just like any other control (ie: as a child of your Grid container).
deepa
-Original Message-
From: flexcoders@yahoogroups.com
Hi - This question has come up many times on this list. Below is the cut
paste from a previous email. Should get you on the right track.
-deepa
Changing the background color of a Datagrid Row in Flex
I have heard this question many times and I don't think it is
documented.
What Matt means is that there needs to be a Sort object that
is assigned to the collections sort property. You dont need to
actually trigger the sort (by calling refresh() on the collection) but there
needs to be a Sort assigned.
For example:
localCol = new
You can always set the selectedItems or selectedIndices properties on the
list-based components to an empty array to programmatically force de-selection.
The component's UI will respond accordingly.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Are you sure you're setting the label property on Link?
mx:Link [EMAIL PROTECTED] click=navigateToURL(new URLRequest(...))/
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of motareal
Sent: Thursday, February 16, 2006 5:40 AM
To:
This is a feature. The List-based components, of which ComboBox is one,
allow de-selection by Ctrl+click on a selected item.
There are a few ways to workaround this (subclass the component,
perhaps). One that comes to mind is to capture keyboard event and
cross-track that with the selectedItem
Hi - What build are you using? I can't seem to reproduce this bug on our
current internal build. I know we tackled a lot of mousing/scrolling RTE's in
the List-based components but I don't want to dismiss this before I know what
build you're using.
Thanks,
deepa
-Original Message-
You should be able to use the vPosition and hPosition properties on Tree to
move its vertical or horizontal scrollbar. To get the scrollbar to scroll to
the selectedItem you can set vPosition/hPosition to the selectedIndex.
-Original Message-
From: flexcoders@yahoogroups.com
These TabBar issues have all been fixed in our internal builds so keep an eye
out for the next public drop to resolve this for you.
-deepa
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish
Jethani
Sent: Wednesday, March 01, 2006 5:54 AM
to this list, has a great blog entry
about the bridge and what it allows developers to do: http://www.quietlyscheming.com/blog/2006/03/06/flex-and-ajax
Just an FYI
Deepa Subramaniam
Flex Team
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson
Sent
Hi
So the mouseTarget property is a reference
to the DataGridItemRenderer which the context menu opened upon. You can access
the listData property off of a DataGridItemRenderer to then access rowIndex and
columnIndex and whatever other goodies youd like. Check out my example
below.
Currently in the framework, you cannot tab through components like
Label, Text and Image. They will not respond with a focus highlight
which other controls, like a Button, do. Try your same test case with a
Button and you'll see that the controls respond to tabbing in the order
specified by
Hi Jordan
You can keep track of the
verticalScrollPosition property in your DataGrid and upon receving UPDATES,
re-set the verticalScrollPosition to the previous value and the DataGrid will
jump to the last scroll position and show the correct content.
-deepa
From:
You now want to use Tree.expandItem() to
open or close a branch node.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike Wertheim
Sent: Tuesday, June 27, 2006 1:02
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] expanding
Tree Nodes
the jsp (it takes about 3 seconds to update the grid with
the new data).
any ideas on where the scroll position is being reset?
--- In flexcoders@yahoogroups.com, Deepa Subramaniam
[EMAIL PROTECTED] wrote:
Hi Jordan -
You can keep track of the verticalScrollPosition property in your
);
}
and the trace info does give me the value of the currentScroll, but
the grid still goes back to the top after the data is populated.
is refresh() still being called after this guy?
--- In [EMAIL PROTECTED]ups.com,
Deepa Subramaniam
[EMAIL PROTECTED]. wrote:
When the actual data comes in, the DataGrid
1 - 100 of 130 matches
Mail list logo