I guess I would simply.  You said there was a labelFunction, what if it
just returns "foo"?  Try a simpler app, does it have the same lag?  Try
putting it in the Flex 3 Profiler and see where the time goes or trace
out the time between mouseUp and focusIn on the editor.

 

In my simple apps, it is pretty fast.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of j_lentzz
Sent: Saturday, December 22, 2007 6:50 PM
To: [email protected]
Subject: [flexcoders] Re: Datagrid delay from renderer to editor mode

 

It is in the app, but not in the datagrid.
--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Where is the focus before you click on the first cell? Is it still in
> the address bar of the browser or somewhere in the app already? If it
> is in the browser address bar, there probably isn't a whole lot you
can
> do about it.
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of j_lentzz
> Sent: Saturday, December 22, 2007 5:05 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Re: Datagrid delay from renderer to editor mode
> 
> 
> 
> No. It can keep up. Also, once the transition is made from selecting
> the cell and switching to an editor, subsequent editor transitions are
> fast. For example, once a cell is in edit mode, you can tab to the
> next cell and it will immediately switch to editor. It is just the
> initial selecting a cell in the datagrid that is real slow.
> 
> John
> --- In [email protected]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com>
> , "Alex Harui" <aharui@> wrote:
> >
> > Only if they are really complex. Maybe he's got a slow computer? Can
> > you out-type it?
> > 
> > 
> > 
> > ________________________________
> > 
> > From: [email protected]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com>
> [mailto:[email protected]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of j_lentzz
> > Sent: Friday, December 21, 2007 7:07 PM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com> 
> > Subject: [flexcoders] Re: Datagrid delay from renderer to editor
mode
> > 
> > 
> > 
> > Just using defaults. However, I do have 3 label functions on the
row.
> > Would they slow down the switching?
> > 
> > John
> > --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > , "Alex Harui" <aharui@> wrote:
> > >
> > > No. Are you just switching between default TextInput renderers or
do
> > > you have custom renderers. If custom, maybe they need
optimization.
> > > 
> > > 
> > > 
> > > ________________________________
> > > 
> > > From: [email protected]
<mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > [mailto:[email protected]
<mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > ] On
> > > Behalf Of j_lentzz
> > > Sent: Friday, December 21, 2007 6:02 PM
> > > To: [email protected]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com> 
> > > Subject: [flexcoders] Re: Datagrid delay from renderer to editor
> mode
> > > 
> > > 
> > > 
> > > I'm using Flex 2. Would Flex 3 and its datagrid or the advanced
> > > datagrid be any faster?
> > > 
> > > John
> > > --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.com> 
> > <mailto:flexcoders%40yahoogroups.com>
> > <mailto:flexcoders%40yahoogroups.com>
> > > , "Alex Harui" <aharui@> wrote:
> > > >
> > > > There's no delay, but it isn't optimized either. Maybe a custom
> > class
> > > > factory that re-uses the last editor would help.
> > > > 
> > > > 
> > > > 
> > > > ________________________________
> > > > 
> > > > From: [email protected]
<mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.com> 
> > <mailto:flexcoders%40yahoogroups.com>
> > <mailto:flexcoders%40yahoogroups.com>
> > > [mailto:[email protected]
<mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.com> 
> > <mailto:flexcoders%40yahoogroups.com>
> > <mailto:flexcoders%40yahoogroups.com>
> > > ] On
> > > > Behalf Of j_lentzz
> > > > Sent: Friday, December 21, 2007 1:15 PM
> > > > To: [email protected]
<mailto:flexcoders%40yahoogroups.com> 
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > <mailto:flexcoders%40yahoogroups.com> 
> > > > Subject: [flexcoders] Datagrid delay from renderer to editor
mode
> > > > 
> > > > 
> > > > 
> > > > Hi,
> > > > 
> > > > I was wondering if there is any delay built into the grid that
> would
> > > > slow the transition from a renderer to an editor. Clicking in
the
> > > > grid doesn't result in an instant transition. I've got a client
> who
> > > > is a fast typist and the delay when switching is causing
problems.
> > Is
> > > > that a style thing, or does it switch as fast as Flex can.
> > > > 
> > > > Thanks,
> > > > 
> > > > John
> > > >
> > >
> >
>

 

Reply via email to