1 Reply Latest reply on Jun 9, 2008 5:34 AM by vtonino

    DataGrid with my custom headerRenderer gives errors and won't work when I try to drag n drop columns

      K I have a data grid that is supposed to look like a teachers grade book. I have created a vertical text header renderer to allow me to have more compact columns that say the name of an assignment...However the teachers need to be able to order each assignment into whatever order they want. I have it working, displaying the assignment text vertically. However when I try to drag a column into another position, it gives me this error!

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.controls::DataGrid/columnDraggingMouseUpHandler()[C:\dev\flex_201_gmc\sdk\frameworks\m x\controls\DataGrid.as:3837]

      I've been trying to figure this out for some time now, any help would be greatly appreciated. If you need more information, please let me know...