I found it. Never mind.
--- In [email protected], "markgoldin_2000" 
<[EMAIL PROTECTED]> wrote:
>
> I am extending DataGrid:
> package yardmodel.modulecode
> {
>       import 
> mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
>       public class codeDestinationGrid extends AdvancedDataGrid
>       {
>               public function codeDestinationGrid()
>               {
>                       super();
>                       var newColumns:Array = new Array();
>                       var column:AdvancedDataGridColumn = new 
> AdvancedDataGridColumn();
>                       column.dataField = "name";
>                       column.headerText = "name";
>                       newColumns.push(column);
>                       dataProvider = this.dataProvider;
>                       columns = newColumns;
>                       trace("1");
>               }
>               
>       }
> }
> 
> When I go thru debugger as soon as it hits public class 
> codeDestinationGrid extends AdvancedDataGrid line it goes back to 
> package yardmodel.modulecode line and that's all. Any idea why is 
it 
> happening?
>


Reply via email to