In my application, I have a Button. I want to double-click this Button, and
edit its label, just like we do in Flex Builder.
To do this, I have a double-click event-handler for my Button. In this
event-handler, I have written code to create a TextInput control (in
ActionScript). I have
On Wednesday 03 Jun 2009, tntomek wrote:
The source is between 100-5000k rows.
That's a lot ! You could probably serve your users better by having a small
data set anyway, which will also fix your performance problems.
--
Helping to simultaneously engage network B2B second-generation
just curious, why can't you use removeChildAt()?
On Fri, Jun 12, 2009 at 11:58 AM, chandruflex chandruf...@yahoo.com wrote:
In my application, I have a Button. I want to double-click this Button, and
edit its label, just like we do in Flex Builder.
To do this, I have a double-click
use the itemEditEnd event on the DataGrid to get the value you entered in
the TextInputs. (It is fired when you tab out or change focus from rows.)
Harish
On Fri, Jun 12, 2009 at 5:25 AM, Angelo Anolin angelo_ano...@yahoo.comwrote:
Hi,
Would you care to share some codes of what you did
Hi Tim
Thanks for your time and reply. Yes you are right, I am not using MVC
Framework.
I tried this
my main.mxml is like this...of course not with exact format of flex...
script
{
breadcrumclicked(event:Event) which comes canvas below
}
mx:canvas.
mx:linkbar
Ok, I can use removeChildAt() for the question that I have asked. Actually I
had to think about the next step. In my application, I will have a lot of other
components (both statically and dynamically created). One or many of those
dynamically created components may be Button components.
---
While you add the child (TextInput) , make a dictionary to track the
childIndex or even better the instance itself and bump it off once you
complete the editing
Harish
On Fri, Jun 12, 2009 at 6:06 PM, chandruflex chandruf...@yahoo.com wrote:
Ok, I can use removeChildAt() for the question
You would need to add an event listener for the itemeditend event. Then grab
the data that was edited and modify the dataprovider.
--- In flexcoders@yahoogroups.com, azona26 azsl1326-em...@... wrote:
I have an editable datagrid with data being populated from an
XMLListCollection. I am
Basically, no. The datagrid is like a window into your dataprovider.
If you need to modify your dataprovider you need to listem for the itemEditEnd
event, grab the data that was modified and update the underlying dataprovider.
The data binding will note that the dataprovider has changed and
Thanks for the help. I did try using an itemEditEnd eventlistener. The issue I
was having was that the data value wasn't being changed it was still the
original value.
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
You would need to add an event listener for the
Can you try removing some of those series to isolate the problem?
Also, can we see the console output from the trace statements in
seriesDataFunction?
Maybe the values are out of bounds? Some sample data would be useful
too if that's possible.
2009/6/12 Jake Churchill j...@cfwebtools.com:
On Thursday 11 Jun 2009, Jeffry Houser wrote:
The Full Flash Player 10 [and therefore Flex] is supposed to be out for
the Palm Pre later this year, and it coming to other devices.
Look in the archives for my recent 'ARM' post.
--
Helping to greatly conquer revolutionary cross-platform
Sorry, I meant to follow up on this yesterday. Thanks for your reply but I
figured it out. I had the wrong type of horizontal axis applied so when I
was returning an xField value it was actually drawing the chart off to the
right somewhere.
Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
It works for me...
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
creationComplete=onCreationComplete()
mx:Script
![CDATA[
import mx.controls.TextInput;
import mx.events.DataGridEvent;
Data binding in general is not two-way, but an editable datagrid is a
special case. It will update the dataProvider items automatically.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf
Which reference is ambiguous?
I would mistrust a variable named valid as being a system reserved word.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of [p e r c e p t i c o n]
Sent:
You may need to use a custom DataDescriptor.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of srini3477
Sent: Wednesday, June 10, 2009 2:12 PM
To: flexcoders@yahoogroups.com
Subject:
I didn't know this.
When I tried it, it didn't update the dataprovider. Is there anything special
that needs to happen.
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:
Data binding in general is not two-way, but an editable datagrid is a
special case. It will update the
Ok, so I am closer.
If I have this:
192.168.168.12
192.168.168.129
192.168.168.24
hellokitty
bigsmelly
When sorting I get this (with the normal flex sorting):
192.168.168.129
192.168.168.12
192.168.168.24
bigsmelly
hellokitty
And if I use my own sort function and perform several sorts
Thanks. I will try your updateData function. I was trying to grab the data in a
different manner. I believe I was using the following:
private function endEdit(event:DataGridEvent):void {
trace('event.itemRenderer.data - ' +
Looks like you may be thinking about a little backwards. First add this
method to the script in contentpane:
import mx.events.ItemClickEvent;
public function handleBreadCrumbItemClick( event:ItemClickEvent ):void
{
// do something
}
Then Main.mxml would have:
mx:Canvas
mx:LinkBar
I think I understand why. The dataprovider in the example is the actual XML
List. I was wrapping the XML List in an XML List Collection so it wasn't
updating the underlying dataprovider.
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:
No, you maybe had something else going
I suspect Tom is referring top this post:
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg122969.html
Tom Chiverton wrote:
On Thursday 11 Jun 2009, Jeffry Houser wrote:
The Full Flash Player 10 [and therefore Flex] is supposed to be out for
the Palm Pre later this year, and
Somewhere you can adjust the cut off of how many paths to root are filtered
out. I don't have the UI handy right now
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Hi Tracy,that was a mistake, actually i called it 'isValid' like this
mx:Button x=504 y=511 id=submitButton
label=Continueclick=Submit(); enabled={isValid}/
is valid is a boolean that i declared in my code-behind
also
i noticed that when i put defaultButton in the root node of my mxml
I getcha, thx Alex -mL
Alex Harui wrote:
The mark and sweep starts from several places (ApplicationDomain,
Stage, a few internal places in the Player, stack). Those are
currently called GCRoots, although I’d push for changing it if we
could come up with a better name.
Often when you
Are you by any chance using a getter/setter for the isValid var? If so, you
may need to change the setter to public.
-TH
--- In flexcoders@yahoogroups.com, [p e r c e p t i c o n] percepti...@...
wrote:
Hi Tracy,that was a mistake, actually i called it 'isValid' like this
mx:Button x=504
You'll get errors if objects in the collection are missing properties mentioned
in the sortFields, I think the first element is tested.
Your compare function will have to determine if the string is a number and if
both are numbers, convert them to number and compare. For IP addresses you
have
28 matches
Mail list logo