Hello FlexCoders,
I'm wondering what is the best way to create such type of DataGrid in Flex 1.5?
here is image with datagrid that was created in html:
http://www.go4flash.com/Table.gif
Does DataGrid component suits the best in this case?
Best regards
Stanislav
Hi All!
What is the best way to resize container (e. g. Accordion) to the size of
its largest child?
Sergey.
Yahoo! Groups Sponsor ~--
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
I consider it's better to create some AbstractTable class inherited from
UIObject and then some specific table classes for your particular needs. :)
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stanislav Zayarsky
Sent: Friday, December 30,
Hello all, I'm trying to get a datagrid to use a custom sortCompareFunction for its initial sort order.The custom sortCompareFunction works when you click the column header, however attempts to sort the dataprovider before it is assigned or the grid itself after the dataprovider is assigned all
Hello Sergey,
I agree with Sergey. You must draw the diffence between Table and
DataGrid mentally.
---
DataGrid displays tabular data, allows sorting in columns, support
paging.
Example is mx:datagrid component.
---
Table displays any data in
I'm relatively new to Flex 2 and what I'm trying to do is to create a set of custom MXML components that share the same AS base class. So I start with the base component, an empty container to which I add properties/methods via AS. Call it
Base.mxml:?xml version=1.0 encoding=utf-8?mx:Canvas
Hello Sergey,
Friday, December 30, 2005, 11:50:50 AM, you wrote:
What is the best way to resize container (e. g. Accordion) to the size of
its largest child?
Use mx:Accordition resizeToContent=true minHeight=720
--
Best regards,
Andriymailto:[EMAIL PROTECTED]
I need to set an effect (hideEffect) on a new object
(mx.controls.Image) that I am creating via AS and the effect does not
seem to be playing when expected (hiding of image).
What is the correct way of adding an effect to an object
programatically? Is it treated like a property and takes a
Pass the image's ID into the effect's contructor:
var e:Dissolve = new mx.effects.Dissolve(imageID);
- Original Message -
From: Karl [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, December 30, 2005 11:46 AM
Subject: [flexcoders] Setting effect via AS
I need to set an
Yeah, thanks Jesse.
Use editField(), not the method I made up.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Thursday, December 29, 2005 8:56 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] CheckCellRenderer
The difference is that edit field will
update the UI immediately every time you call it. This is fine with small data
sets. If you update many items, then there might be a performance issue with
so many ui refreshes.
Also, you might be able manually dispatch
the modelChanged event
You were thinking of setItemAt from Flex 2. No worries, you're just ahead
of the curve.
- Original Message -
From: Tracy Spratt [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, December 30, 2005 1:21 PM
Subject: RE: [flexcoders] CheckCellRenderer
Yeah, thanks Jesse.
Use
Naw, it actually calls invalidate each time, so
it's only updated once per frame, whether you call it 1, or 1000 times.
That's the beauty of DataProvider API!
However, the manual dispatch isn't so bad because
for thousands of records, this:
my_array[i].cow = "foo";
+ dispatch
Ah, cool. So all that Flash frame stuff
might actually be good to know about!
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Friday, December 30, 2005
1:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Hehe, naw, because then Flex people think you're a
g00b if you talk about Flash.
You say "next frame", and you're considered to be a
14 year-old who likes punk rock.
You say "invalidate", and you're considered to a
Fortune 500 developer.
- Original Message -
From: Tracy Spratt
And for complexly formatted, repeated items, the mx:Repeater is very
effective.
It can be slow with larger data sets, but this can be mitigated.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andriy Panas
Sent: Friday, December 30, 2005
Thanks for the reply. Is there anyway to set an effect on an object
dynamically without having to create a new effect for each image
that is added? Won't this method result in a new effect being
created in memory for each image, as opposed to having one already
created effect that you attach
Sure, make it a member variable and set it's target property.
import mx.core.UIObject;
import mx.effects.Dissolve;
var dissolve_effect:Dissolve;
// called from initialize
function onCreationComplete()
{
dissolve = new Dissolve();
dissolve.duration = 3 * 1000;
dissolve.alphaFrom =
Thanks Tracy, that did help. Now I'm getting a wierd fault back that says it can't parse the HTTP response, but everything is posting ok. I'll just catch the fault for now. Thanks again!-Andy
On 12/30/05, Tracy Spratt [EMAIL PROTECTED] wrote:
Probably the returned xml is
So far I have successfully connection to Flash Communication Server using Flex 2.0 Alpha Standalone, but when I try to call an Admin API method, I get no response. Here is what I am doing:mx:Script ![CDATA[ import flash.net.*;public var adminConnection:NetConnection; public var
I think dg1.sortItems(sortByAge, asc)
should have worked (or desc), not Array.ASCENDING and
Array.DESCENDING because being consistent with array options would have been
too obvious ;-)
Havent tried it though. This will
be easier in Flex 2 because sorting will be done through Sort
Did you put any visual children in Base?
If you did its not going to work because you cant have declared
children in a parent component and subcomponent (though we may describe how to
simulate that in some of our docs with other features).
You can try rewriting Base.mxml to be
Base.as
22 matches
Mail list logo