force reorder of NSOutlineview

Discussion in 'Mac Programming' started by MrFusion, Mar 25, 2009.

  1. macrumors 6502a

    Joined:
    Jun 8, 2005
    Location:
    West-Europe
    #1
    How can I force an NSOutlineview to reorder itself, when no new items are added. The position of the items is changed through drag and drop, but this is reflected in the actual onscreen position. The position variable is correctly updated.

    When items are added, the column is correctly reordered.

    Code:
    [myView reloadData];
    
    is not doing the trick.

    Thanks.
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
  3. thread starter macrumors 6502a

    Joined:
    Jun 8, 2005
    Location:
    West-Europe
    #3
    Yes, the datasource is a custom subclass of NSTreecontroller (to handle drag and drop).
     

Share This Page