Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jez Reel R. Maghuyop 20 posts 62 karma points
    Feb 11, 2019 @ 04:21
    Jez Reel R. Maghuyop
    0

    how to hide content already selected from Dialog treepicker?

    Is there a way to add preselected contents when showing the tree? I don't want to show items that are already been selected previously.

    var dialogOptions = {
                show: true,
                multiPicker: true,
                view: "treepicker",
                section: 'content',
                treeAlias: 'content',
                // selection: vm.dialogPreSelectContents,
                startNodeId: $scope.dialogData.config.startNode,
                submit: function (model) {
                    vm.overlay.show = false;
                    vm.overlay = null;
                    vm.contents = model.selection;
    
                    // Append Toggle to object
                    vm.appendToggle();
    
                },
                close: function (oldModel) {
                    vm.overlay.show = false;
                    vm.overlay = null;
                }
            };
    
Please Sign in or register to post replies

Write your reply to:

Draft