Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
850
Node has no cells in InitializeDataNode handler?
posted

When I load my tree with a one-level list (that is, I'm binding it to a list object that contains only objects that are not themselves lists), in my InitializeDataNode handler, node.Cells.Count == 0. If I load my tree with a multi-level list (the top-level list contains other lists, which then contain other objects), this is not the case.

I'm trying to set an image into one of the columns during InitializeDataNode, and I can't do it because the cell apparently hasn't been created yet. What can I do about this?

Thanks,
   Aaron

Parents
No Data
Reply
  • 4219
    posted

    Hi Aaron,

     

    I have tested to bind the tree to a list of objects and the InitializeDataNode event fires every time a node is added. I would need more details about your scenario and how you bind your data to the tree to say what the issue might be.

    I am looking forward to hearing from you.

     

    Regards,

    Stefaniya

Children