Skip to content

I can't control the status and selection of each check box #239

Open
@ifmake

Description

@ifmake

one:
<tree
#RightTreeR
[settings]="treeSettings"
[tree]="menuRightTree"
(nodeChecked)="getNowNodeId($event.node, true)"
(nodeUnchecked)="getNowNodeId($event.node, false)"
(nodeSelected)="fnGetRightByOrgan($event, RightTreeR)">

<input type="checkbox" [checked]="node.isexist > 0" [disabled]="node.isexist > 0" (change)="fnSelectOrgan($event.target.checked, node, MenuList)" *ngIf ="node.type !== 0">
<span class="node-name" (click)="treeUseWay.makeTreeWay(node.id, 'expand', RightTreeR)" [innerHTML]="node.value" >

two: export const treeSettings: Ng2TreeSettings = {
rootIsVisible: false,
showCheckboxes: false,
enableCheckboxes: false
};

I want two

second issue:
When unchecked in the second level menu, always debugger,
I want to configure whether a single node has a check box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions