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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -