Okay, I created a protected variable and then changed the datagrid to this
<code>
<s:DataGrid id="placesDG" x="10" y="160" width="1050" height="150" | |||
editable="true" | |||
dataProvider="{placesList}" | |||
creationComplete="placesDG_creationCompleteHandler(event)"> |
</code>
Got a warning Data binding will not be able to detect assignments to "placesList".
At selection right now, assigned results to placelist
placesList = getPlacesResult.lastResult; |
Now datagrid does not show anything. Guess I dont know how to bind to a variable.