vola62
23.09.2010, 19:23
День добрый. Вот если мой компонент юзает внутри себя DataGrid - рально ли сделать возможность юзания
таким способом:
<s:Label text="test of MyComponent" />
<components:MyComponent>
<dataGrid>
<mx:DataGrid id="destDG"
dropEnabled="true"
dragDrop="dragDropHandler(event);">
<mx:columns>
<mx:DataGridColumn dataField="label"/>
<mx:DataGridColumn dataField="data"/>
<mx:DataGridColumn dataField="date"/>
</mx:columns>
</mx:DataGrid>
</dataGrid>
</components:MyComponent>
Спасибо
таким способом:
<s:Label text="test of MyComponent" />
<components:MyComponent>
<dataGrid>
<mx:DataGrid id="destDG"
dropEnabled="true"
dragDrop="dragDropHandler(event);">
<mx:columns>
<mx:DataGridColumn dataField="label"/>
<mx:DataGridColumn dataField="data"/>
<mx:DataGridColumn dataField="date"/>
</mx:columns>
</mx:DataGrid>
</dataGrid>
</components:MyComponent>
Спасибо