trace the evt.result using the ObjectUtil.toString() (note: you will need to
import mx.utils.ObjectUtil to do this) and lets see what is coming back from
the server. most likely the reason you are getting a blank row is that what
is coming back does not match what the grid is expecting.
On 2/11/07, munene_uk <[EMAIL PROTECTED]> wrote:
ok here goes.....
* private function resultHandler(evt:ResultEvent):void
{
dataProvider = new ArrayCollection ( ArrayUtil.toArray(
evt.result) ); // same as: evt.result.toString();
}
public function sendResultHandler(evt:ResultEvent):void
{
dataProvider.addItem(ArrayUtil.toArray(evt.result));
dataProvider.refresh();
}
*first function is called when the app is loaded.
second function is called when i add a new user to the database
--
http://indeegrumpee.spaces.live.com/