You mean something like:

<mx:Script>
  [Bindable]
  public var columnName:String;
</mx:Script>

<mx:DataGridColumn headerText="{columnName}"

This is pretty standard data binding. See:

http://www.adobe.com/devnet/flex/quickstart/using_data_binding/

On Wed, Jul 8, 2009 at 2:05 PM, ram ramesh <ram_y...@yahoo.co.in> wrote:

>
>
> Hi,
> I need to implement the below concpet.
> The value for "headerText" of  mx:DataGridColumn should be a dynamic value
> from Action Script setting variable.
> Any sample code please send to me
>
>
>
>  
>

Reply via email to