osx - NSOutlineView selected item move -


i have nsoutlineview has 2 groups , select 1 item when init. when click headercell , let 1 group collapse , other expand, selected item moves next group. why happen?

how can improve , make selected item not move?

update: happens when cell move outside nsoutlineview.so guess problem cell reuse.

update: before

enter image description here

after:

enter image description here

update: problem nsoutlineview's index of row changes when outlineview collapses or expands.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -