angular-tree-component
angular-tree-component copied to clipboard
A simple yet powerful tree component for Angular (>=2)
How to prevent drag and drop from particular element in tree-root. For below html ,how to allow drag only if div with class "header" is clicked but prevent drag if...
## Describe any alternatives/workarounds you're currently using We don't have `tree-node` elements in our html, therefore a hack was needed to get that reference. Workaround is to set `nodeClass` on...
Hi all, While installing select-2 in my angular project getting the following error, not being able to load the project. I have tried following ways to solve it 1. deleted...
Documentation incorrectly uses generic `subscribe` instead of appropriate `subscribeToState` method ## PR Checklist Please check if your PR fulfills the following requirements: - [X] The commit message follows our guidelines:...
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/CirclonGroup/angular-tree-component/blob/master/CONTRIBUTING.md#commit-message-guidelines ## PR Type What kind of change does this...
## Minimal reproduction of the bug/regression with instructions: - Create a large tree (10 root nodes, 4 levels deep, 10 child nodes each) - Use virtual scroll - Watch as...
this.options = { childrenField: 'categoryChildren', allowDrag: (node) => { return ( node.data.parentId )}, allowDrop: true, actionMapping: { mouse: { click: (tree, node, $event) =>{ console.log("calling click"); } } }, };...
Building an application with angular 11 and angular-tree-component in its dependencies gives the following error: ``` Error: node_modules/@circlon/angular-tree-component/node_modules/mobx/lib/types/observableset.d.ts:21:22 - error TS2420: Class 'ObservableSet' incorrectly implements interface 'Set'. Property 'toJSON' is...
How can scroll to a specif node? If I have 100 nodes(list-item) in tree-view and currently displaying from 41 to 50 nodes in viewport then I want to scroll direct...
## Minimal reproduction of the bug/regression with instructions: 1: I am using a tree component with nodes as : [{ level: 1, levelDescription: 'hello', children: [{ level: 2, levelDescription: 'hello1'...