What I have is the Flex 2.0.1 patch for Flash CS3 Professional
compatibility, are they compatible? i.e. I just install the hotfix 2/3
on top of it?

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> That sounds like you are not using 2.0.1 Hotfix 2 or later.  I cannot
> reproduce your problem with that release.
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Stephen Roy J. Tang
> Sent: Wednesday, November 28, 2007 12:39 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] ItemEditors and ItemRenderers (was Re: Datagrid
> tab order?)
> 
> 
> 
> Can you check my sample here:
> http://roytang.net/sandbox/DataGridSample.swf
> <http://roytang.net/sandbox/DataGridSample.swf> 
> 
> Source at http://roytang.net/sandbox/DataGridSample.mxml
> <http://roytang.net/sandbox/DataGridSample.mxml> 
> 
> When I tab starting from the textinput and all the way to the last row
> of the datagrid (row 14), it's still ok. But after tabbing out from
> row 14 the tab order becomes "trapped" in the onscreen checkboxes (and
> doesn't even follow them in the top-to-bottom left-to-right order)
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "Alex Harui" <aharui@> wrote:
> >
> > tabEnabled is ignored for renderers/editors. The only thing that
> > matters is editable=true on the DG and the DGColumn.
> > 
> > You should have itemRenderer=CheckBox and rendererIsEditor=true. You
> > don't need to set itemEditor=CheckBox.
> > 
> > ________________________________
> > 
> > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of Stephen Roy J. Tang
> > Sent: Tuesday, November 27, 2007 7:54 PM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> > Subject: [flexcoders] ItemEditors and ItemRenderers (was Re: Datagrid
> > tab order?)
> > 
> > 
> > 
> > thanks. I appreciate the replies esp. since I can't provide my app's
> > sample code here so I guess it's difficult for others to figure out.
> > 
> > I guess the problem is I tried to avoid using itemEditors entirely and
> > used itemRenderers instead, so now the tab order is all messed up and
> > doesn't scroll.
> > 
> > I'm going to try using itemEditors again. However, the main problem
> > there is that I want to render the column as a checkbox and have it
> > editable as a checkbox also. So I'll do the ff:
> > 1. set itemRenderer=checkbox and itemEditor=checkbox. 
> > 2. set tabEnabled=false for the checkbox itemRenderer; this is so that
> > the itemRenderers don't screw up the tab order
> > Under the above setup, the tab order seems correct. 
> > 
> > The only issue with the above that I'm not sure how to support is that
> > visually the column is a checkbox, but requires the user to click
> > twice on the checkbox to toggle the value (once to enable edit mode,
> > second time to actually edit). Is there any way to avoid this? Most of
> > the examples of using checkbox as an itemEditor seem to use static
> > text as the renderer.
> > 
> > --- In flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > , "Alex Harui" <aharui@> wrote:
> > >
> > > the default editing code handles offscreen rows.
> > > 
> > > you can probably override focusinhandler and set editeditemposition
> > > 
> > > the dg remembers the last position of the editor and restores
> editing
> > > there
> > > 
> > > ________________________________
> > > 
> > > From: flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > [mailto:flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > ] On
> > > Behalf Of Stephen Roy J. Tang
> > > Sent: Tuesday, November 27, 2007 1:19 AM
> > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com> 
> > > Subject: [flexcoders] Re: Datagrid tab order?
> > > 
> > > 
> > > 
> > > We had trouble before with having both an item renderer and an item
> > > editor for a column (which we need to have that checkbox column), so
> > > instead what I tried was simply having only itemrenderers for the
> > > controls (and updating the data on change of the itemrenderer
> > > controls) This seems to fix the default tab order, but there are
> still
> > > some issues with the tab order, namely:
> > > 
> > > 1. Tabbing through the grid only traverses visible rows - how can a
> > > user navigate to scrolled-out rows using the keyboard?
> > > 2. Sorting the grid doesn't seem to sort the taborder - the rows are
> > > still traversed in the original order. (Strangely, reassigning a
> > > headerRenderer after the sorting sets the correct tab order - I
> found
> > > this by accident)
> > > 3. Tabbing into the grid from an outside control -> looks like it
> > > "remembers" where the grid was last traversed and starts over from
> > > there. Is it possible to change it to always enter the grid from the
> > > first row?
> > > 4. I'm not sure of the behavior exactly, as I couldn't replicate it
> > > all the time, but tabbing into the grid after it has been
> > > mouse-scrolled seems to cause it to enter at different rows.
> > > 
> > > --- In flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com> 
> > <mailto:flexcoders%40yahoogroups.com>
> > <mailto:flexcoders%40yahoogroups.com>
> > > , "Alex Harui" <aharui@> wrote:
> > > >
> > > > Sounds like editable!=true, so the DG's tab handling code isn't
> > > running.
> > > > 
> > > > 
> > > > 
> > > > ________________________________
> > > > 
> > > > From: flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com> 
> > <mailto:flexcoders%40yahoogroups.com>
> > <mailto:flexcoders%40yahoogroups.com>
> > > [mailto:flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com> 
> > <mailto:flexcoders%40yahoogroups.com>
> > <mailto:flexcoders%40yahoogroups.com>
> > > ] On
> > > > Behalf Of Stephen Roy J. Tang
> > > > Sent: Friday, November 16, 2007 9:15 PM
> > > > To: flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > <mailto:flexcoders%40yahoogroups.com> 
> > > > Subject: [flexcoders] Datagrid tab order?
> > > > 
> > > > 
> > > > 
> > > > Hi,
> > > > 
> > > > I'm a bit confused about the tab order in a datagrid. The problem
> is
> > I
> > > > have a datagrid with 3 columns: 
> > > > column 1 - renderer is a checkbox control. I use onchange of the
> > > > checkbox to update the underlying data
> > > > column 2 - normal text column, editor is a editbox
> > > > column 3 - checkbox, similar to column 1
> > > > 
> > > > Using tab to traverse the datagrid has weird behavior, i.e. first
> it
> > > > seems to traverse all the column 2 editboxes (top rows first then
> > > > bottom rows); then it traverses the checkboxes in each row
> (starting
> > > > from top row again); after it has traversed everything, the tab
> > order
> > > > seems random now - it jumps around from editbox to checkbox or
> > > whatever.
> > > > 
> > > > Is it because of the way the actual renderer/editor instances are
> > > > created? Is there something I should be specifying to guarantee a
> > > > nice, left-to-right top-to-bottom tab order?
> > > > 
> > > > Thanks,
> > > > 
> > > > Roy
> > > >
> > >
> >
>


Reply via email to