Get [Object Error] on getParentId

On calling getParentId on IE 6 a popup appears with the message “[Object Error]”. The itemId exists.



What does this error mean?

Are there other ways to debug this further?



Thanks!

– Tom



Such error may occur only if itemId which you specified as incoming parameter not exists in grid
Please doublecheck that you are using correct value as incoming parameter.

>>Are there other ways to debug this further?
This is depend on which component you are using
In case of treegrid collection of all elements { hash id=>item }can be checked as
    grid._h2.get
In case of dhtmlxteee
    tree._idpull

I am using DhtmlxTree.  It would be useful to have an API function to test if an itemId exists in the tree.
I’ll check out the tree._idpull.  Thanks so far.

– Tom