timgerr,
dg is the id of the datagrid.
Jeff
--- In flexcoders@yahoogroups.com, "timgerr" <[EMAIL PROTECTED]>
wrote:
>
> Jeff, I am getting an error :
> var value:String = dg.dataProvider[e.rowIndex][field];
> Access to undefined property dg.
> Not sure what to do, thanks
>
> timgerr
>
> >
I have custom item render in a datagrid that is exhibiting
unpredictable behavior. It does not update when scrolling the
datagrid. Other times it does update, and other times it updates but
on the wrong row.
Here's the component:
http://www.adobe.com/2006/mxml";
horizontalScrollPol
Jeff, I am getting an error :
var value:String = dg.dataProvider[e.rowIndex][field];
Access to undefined property dg.
Not sure what to do, thanks
timgerr
>
>
> private function onChange(e:DataGridEvent){
> var field:String = e.dataField;
> var value:String =
Hi Everyone,
I found my error.
Thanks for your help. I am new to itemRenderers and thought this is
where the problem stemmed from, however, I realized the real problem
was coming from the line
for (i=0; i
Sorry for the confusion,
The code listed in the prior message was that of a custom component (a
Panel that I am using as an item renderer for a tileList which
iterates through a number of dates depending on what month is
selected. When I use this component and add a single label with a text
proper
And how about dynamically loading those components? I've tried to work
with the SWF instead of the SWC but I don't get unexpected results.
Anyone have a suggestion of doing this?
--- In flexcoders@yahoogroups.com, "nathanpdaniel" <[EMAIL PROTECTED]> wrote:
>
> PS. Thanks! I've seen the first
I don't know what is your server technology. CF, JAVA, .NEt or PHP.
On PHP (amfphp) we are comfortable with throwing Exceptions new
Exception("your message",your_code) but if returning a string is not
enough, you can return a JSON_encoded object.
throw exception will we handled by a faultEvent on F
toFixed() or toPrecision()
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark
Sent: Saturday, May 10, 2008 4:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] I need some light math and ActionScript help
please
I'm trying
What array? What error?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of donvoltz
Sent: Saturday, May 10, 2008 6:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Need help with TileList ItemRenderer
I am trying to create a
what is the error? You speak of a dataProvider, a TileList, and a
itemRenderer but I see nothing in the renderer below referring to the 'data'
object of the TileList, rather its using info from the model directly. Have
a look at this
http://blog.flexexamples.com/2008/01/25/removing-folder-icons-f
Please file a bug with a simplified test case.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Whitelock
Sent: Saturday, May 10, 2008 12:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Fixed] Flex Weirdness: Verify Error
Actually, it's more of a surrender than a fix :-)
I finally removed the E4X code and used the old XMLDocument object to
process the XML and the verify errors went away.
I guess that E4X is not quite mature enough to be dependable in all
cases, though it's a bit surprising that the compiler chokes
timgerr,
Capture the field name and value pass it to the PHP page.
private function onChange(e:DataGridEvent){
var field:String = e.dataField;
var value:String = dg.dataProvider[e.rowIndex][field];
sendDataToPHP(field, value);
}
-Jeff
--- In flexcoders@yaho
Hi Phil,
Try this method:
http://www.jabbypanda.com/blog/?p=16
Cheers!
--- In flexcoders@yahoogroups.com, "Phil Heinz" <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I have a Flex 2 Loader component that I pass a URLRequest to the load
> method. We have an issue that the SWF we're trying to l
We had the very same discussion last week. One of our developers made
the valid comment, that Method2 is less readable, because both success
and error are returned in the same ResultDTO. So we decided to go with
Method1. Our delegate wraps the expected business errors into a
BusinessException. The
I'm wondering what people do to pass friendly messages for handled
errors to Flex. Examples of handled errors are you try to log in and
your password is wrong, or maybe you try to buy a product that is no
longer in stock. I'm looking at server communication via Remoting, if
that matters.
[Method 1
Thanks, I'm now reading docs on "stopImmediatePropagation"
That will allow the customization I need, before I was just using an
inline itemRenderer and itemEditor. It kinda forced me to put my logic
code in the separate Script tag inside
the inline component...which is what I did not want to do.
This should do it:
txt.setFocus();
-Jeff
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> textInput.setSelection(0,0)
>
>
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Nicolas Boulet-Lavoie
In your block try:
import mx.charts.PieChart;
public var pie:PieChart
pie.dataProvider
-Jeff
--- In flexcoders@yahoogroups.com, "fflexhelp" <[EMAIL PROTECTED]> wrote:
>
> Hi
> I am trying to create pie charts dynamically.
> Var myPieChart:Piechart;
> in the init()
> {
> myPieChart=new PieChart
Oh, I didn't realize that.
I've been able to defer this for now, but clearly I need to do more
research. Thanks for the input.
On Fri, May 9, 2008 at 9:00 PM, Bjorn Schultheiss
<[EMAIL PROTECTED]> wrote:
> Whether the figures are correct or not i don't see how it affects your
> modular decision.
I am trying to create a calendar of sorts that loops through a
selected month and diplays a custom Panel for each day. I have
constructed an ArrayCollection to hold the number of days for each
month and have used this as the dataProvider for a TileList component.
This functions fine. I am now tryin
Thanks Paul, that did it. Here's the basics for anyone else that my
need to know... pretty easy now in Flex III.
-Mark
public function cartChart():void{
canvas.clear();
canvas.lineStyle(1, 0xFF, 1, true, LineScaleMode.NORMAL);
canvas.moveTo(hAxis.minimum
I'm trying to find the median in my Array of numbers which is fine but
in some cases that number comes out to something like (3.92 84.5
3.5596 3.665). In ActionScript how do I take that number
and reduce the length to something more manageable like (3.9, 84.5,
3.6, 3.7). I know ho
Hi.
I have a master detail setup with a list of sites in the master section
and individual sites in the detail section.
In the detail section I have a form and I want to bind the form field
values to the current site object.
When I click on a site object in the master component, the 'set'
fun
24 matches
Mail list logo