Never mind - variable row heights is the way to go here. 

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Battershall, Jeff
Sent: Thursday, April 24, 2008 7:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] PopUpButton as ItemEditor for DataGrid


I'm pushing the envelope in terms of how many editable fields are going
to fit within the available horizontal space. The issue is basically how
to open an itemeditor that is not constrained by the width of the
column.  

So I've been investigating having a text field popup when in editmode
that gives the user more space to edit, that will not be constrained by
the column width.  I've tried using a PopUpButton as the itemEditor and
having the text field in there, but what I'm seeing is that if you
doubleclick on the cell too quickly, an exception is thrown in
PopUpButton.as - it appears that the _popUp isn't yet defined.  If you
click more slowly, there's no issue.

I'm not that happy with the PopUpButton solution as the first thing the
user sees is the button and has to click again to open.  What I'd prefer
is simply to have the itemEditor popup on its own without further user
interaction.

Ironcially, I've got a another column working perfectly when editing a
list of items. But for some reason, my TextField editor popup is buggy
and I haven't been able to identify exactly why. 

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED]
(609) 520-5637 (p)
(484) 477-9900 (c)

------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links



Reply via email to