i tried your first suggestion, the second one I had already tried- at least
with this one I get an error

TypeError: Error #1034: Type Coercion failed: cannot convert
[EMAIL PROTECTED] com.winn.vo.EmployeeVO.

Still the same question though, the datatypes seem to be compatible- so why
the error?

thanks,
d.

On Mon, Jun 9, 2008 at 2:07 PM, Jon Bradley <[EMAIL PROTECTED]>
wrote:

>
> On Jun 9, 2008, at 1:54 PM, Derrick Anderson wrote:
>
> var testVO:EmployeeVO = DataGrid(event.currentTarget).selectedItem as
> EmployeeVO;
>
>
> Maybe this will help:
>
> var testVO:EmployeeVO = EmployeeVO(event.currentTarget.selectedItem);
>
> or
>
> var testVO:EmployeeVO = event.currentTarget.selectedItem as EmployeeVO;
>
> good luck,
>
> jon
>  
>

Reply via email to