How did itemEditorInstance get to be null?

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of j_lentzz
Sent: Wednesday, September 19, 2007 11:23 AM
To: [email protected]
Subject: [flexcoders] Re: DataGrid editor/renderer MouseDownHandler
error

 

For what it is worth, this is the error I get at runtime when I click
on the cell:

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at
mx.controls::DataGrid/mx.controls:DataGrid::mouseDownHandler()[E:\dev\fl
ex_201_borneo\sdk\frameworks\mx\controls\DataGrid.as:4239]
--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "j_lentzz" <[EMAIL PROTECTED]> wrote:
>
> I've been working on getting a datagrid to validate and I am close. 
> However, whenever I click on a cell in the datagrid, I get a runtime
> error in the DataGrid.as file, because my itemEditorInstance is null.
> However, I am providing an extended TextInput to the datagrid column
> the itemEditor and the itemRenderer. I've tried setting the
> rendererIsEditor to both true and false, but nothing changes. Has
> anyone seen this? Or can tell me what I'm doing wrong? I'm trying to
> follow examples, but obviously I'm doing something wrong.
> 
> Thanks,
> John
>

 

Reply via email to