pcirella / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

multi select type: ont Check Children Do Check Parents #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?
I like this js tree tool, could you add a function to the multi selected
type. like 'Don't Check Children, Do Check Parents', I know I can modify
the source to do it,but I need be careful to update this project source.So
I hope you add this multi selected type for the project.

Original issue reported on code.google.com by shengdon...@gmail.com on 31 Mar 2010 at 2:14

GoogleCodeExporter commented 9 years ago
The selection code is pretty sensitive to unwanted side effects, expecially in
combination with persistence and lazy loading, so I am hesitant to extend it.

I think, it should be possible to to achieve the desired behaviour by 
overriding the
onSelect() callback and doing something like dtnode.parent.select().
(This would not require changes to the project source.)

Original comment by moo...@wwwendt.de on 10 Apr 2010 at 3:10

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 21 Nov 2010 at 7:19

GoogleCodeExporter commented 9 years ago
Thanks,it's so good

Original comment by shengdon...@gmail.com on 22 Nov 2010 at 7:38

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 26 Jan 2013 at 4:08