Hi,
I have a logic of implementing this scenario. To call a function after loading data into the datagrid or wait until an array is filled...
Try to load the datagrid after the required operation is done.
ex:
[Bindable]
private var ac:ArrayCollection = {some xml file};
private function init():void
{
dg.dataProvider = ac;
---
---
---
Loading data into an Array which you need to compare datagrid values.
}
Modified version:
[Bindable]
private var ac:ArrayCollection = {some xml file};
private function init():void
{
Loading data into an Array which you need to compare datagrid values.
dg.dataProvider = ac;
Using updateComplete event, we can call a function and do the required processing.
}
I have a logic of implementing this scenario. To call a function after loading data into the datagrid or wait until an array is filled...
Try to load the datagrid after the required operation is done.
ex:
[Bindable]
private var ac:ArrayCollection = {some xml file};
private function init():void
{
dg.dataProvider = ac;
---
---
---
Loading data into an Array which you need to compare datagrid values.
}
Modified version:
[Bindable]
private var ac:ArrayCollection = {some xml file};
private function init():void
{
Loading data into an Array which you need to compare datagrid values.
dg.dataProvider = ac;
Using updateComplete event, we can call a function and do the required processing.
}
No comments:
Post a Comment