geraldpereira
geraldpereira
Hi guys, I anyone is interested I wrote a blog post on how to use the virtual scroll with a flat tree: https://octoperf.com/blog/2020/08/13/angular10-material-tree-virtual-scroll/ The source code is visible here: https://github.com/OctoPerf/kraken/tree/master/frontend/projects/storage/src/lib/storage-tree
@MurhafSousli I have a repository with ng2-angular: [https://github.com/geraldpereira/twitter-login/tree/master/client](https://github.com/geraldpereira/twitter-login/tree/master/client) I used this [issue](https://github.com/AngularClass/angular2-webpack-starter/issues/136) to handle scss file (you can check [webpack.config.js](https://github.com/geraldpereira/twitter-login/blob/master/client/webpack.config.js) and [app.ts](https://github.com/geraldpereira/twitter-login/blob/master/client/src/app/app.ts) modifications). Then I followed the [Installing from NPM](https://justindujardin.github.io/ng2-material/)...
@mportuga so I cannot select the first and only child without also selecting the parent node? Or is there an option to activate in the grid options? If I activate...
I tried to import Diff2Html in an Angular 6 project but faced the same issue. The only (ugly) solution I found so far is to copy the diff2html dist files...
I found a better solution. I simply include the diff2html files in **angular.json**: ``` "scripts": [ "node_modules/diff2html/dist/diff2html.min.js" ], ``` ( you may also need to add the css, I use...
I found a workaround: Simply add a mouseHover listener on your tree nodes `ng-mouseover="treeController.expandOnMouseHover($event, this)"` Then in the controller I expand the node only if a button is pressed: `...