you can not set the width of the text field and the column should
adjust. As an alternative, you can set the variableRowHeight
property of the grid to true. This will produce multi-line rows if
the cell contents are larger than the set width of the column.
Tim Hoff
--- In [email protected], Chris Scott <[EMAIL PROTECTED]>
wrote:
>
> Hi I'm wondering if anyone has done an extended dataGrid component
or
> can shed some light on the direction to take on building a
dataGrid
> that autosizes it's columns to the size of the data contained,
> similar to how a normal grid component filled with text fields
would
> work, but of course I need it to me sortable and scrollable, so
the
> dataGrid is really what I want. I'm considering trying to handle
an
> event when data is loaded to each cell to increase a width var if
the
> new value us larger, then set the column widths to that var, but
I'm
> getting a little bogged down with what events to attach
eventHandlers
> to. Any advice is appreciated, thanks!
>
> Chris
>
> BTW, Flex 2 Beta 2...
>
> Chris Scott
> [EMAIL PROTECTED]
> http://cdscott.blogspot.com/
> http://www.coldspringframework.org/
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

