1 Reply Latest reply on Dec 12, 2011 2:45 AM by damo_k77

    Advanced Datagrid Binding Issue



      I'm wondering if someone can help me.I'm hoping this is something silly and easy to fix.

      I have an advanced datagrid that hold records from a database. I've declared a databinding as follows


      So every time the user selects and item in the datagrid it populates the customDatatype object. this is defined as follows


      This works with no issues. The problem is that as soon as I change the dataprovider for the advanced datagrid I seem to lose this binding. so an attempt to pull any data from the customDatatype object causes an error

      'TypeError: Error #1009: Cannot access a property or method of a null object reference'


      Is there anyway to reinitialize the binding or am I missing something?