Hi there,

I'm populating a DataGrid and from user selection, columns are added
and removed. Everything works fine excepting defining a labelFunction
to a column.
I'm using this code to define a new column and the function to be used
eurodate.

var DataGridColumn = new mx.controls.gridclasses.DataGridColumn;
DataGridColumn.columnName = "data_fim";
DataGridColumn.__header = "At�";
--->>> DataGridColumn.__labelFunction = eurodate();
DataGridColumn.textAlign = "center";
colunas.push(DataGridColumn);           

I tried:
DataGridColumn.labelFunction = eurodate();
DataGridColumn.labelFunction = eurodate;
DataGridColumn.__labelFunction = eurodate();
DataGridColumn.__labelFunction = eurodate;

none worked.
Any Clue?

Thanks,
Jo�o Fernandes








 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to