ngx-treeview icon indicating copy to clipboard operation
ngx-treeview copied to clipboard

Add non-flat-selection mode

Open xwizard102 opened this issue 6 years ago • 5 comments
trafficstars

Issue #168 & #145

When all children of a node are checked only the parent node is returned in the selection, this is required in some use cases.

I cloned the code, made the change, tested it, applied to demo project, I kept the current behavior as default and added a boolean to config to control it (flatSelection).

default non-flat-all non-flat-some

xwizard102 avatar Jan 16 '19 19:01 xwizard102

@xwizard102 Great job my friend

mmoustafa-salama avatar Jan 24 '19 10:01 mmoustafa-salama

Hi is this changed code pushed successfully into source code? I do not see this gihub source code. please would you check once. This is great job and I was searching for this solution. Thanks In Advance!!!

rammohangowd avatar Mar 13 '19 16:03 rammohangowd

@rammohangowd the pull request is not accepted for merge yet but you can use my fork repo for now: https://github.com/xwizard102/ngx-treeview/tree/non-flat-selection

xwizard102 avatar Mar 14 '19 12:03 xwizard102

@xwizard102 Thank you so much for the repo. I tried to download and npm install it gives me below error and lot of warnings missing some files. so unable to run it. Any help to get this run would be great. npm ERR! code E404 npm ERR! 404 Not Found: [email protected]

rammohangowd avatar Mar 14 '19 14:03 rammohangowd

@rammohangowd this should work for you as it worked for me: https://github.com/ahmadnassri/node-har-validator/issues/113#issuecomment-438106000

in summary: "There is a version mismatch for this package and the npm/yarn repos. The current version is 5.1.2 and it is published under 5.1.3"

xwizard102 avatar Mar 15 '19 17:03 xwizard102