# What is the as3 code to make DataGrid columns adjustable (Expandable)?

**URL:** <https://forum.kirupa.com/t/what-is-the-as3-code-to-make-datagrid-columns-adjustable-expandable/330149>\
**Category:** flash\
**Created:** [December 7, 2012, 8:03am UTC](https://forum.kirupa.com/t/what-is-the-as3-code-to-make-datagrid-columns-adjustable-expandable/330149 "2012-12-07T08:03:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![learner\_7n](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Post date:** [December 7, 2012, 8:03am UTC](https://forum.kirupa.com/t/what-is-the-as3-code-to-make-datagrid-columns-adjustable-expandable/330149/1 "2012-12-07T08:03:21Z")

</div>

Hi,

How can I expand the column of a DataGrid when the text is lengthy? Adjustable columns width when required to expand a column. I mean not fixed column width. Please provide me the as3 code.

Thanks.
