Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$Path function accesible on filter-expression #275

Open
aitorMolinuevo opened this issue May 31, 2017 · 0 comments
Open

$Path function accesible on filter-expression #275

aitorMolinuevo opened this issue May 31, 2017 · 0 comments

Comments

@aitorMolinuevo
Copy link

aitorMolinuevo commented May 31, 2017

Hi all!

I am trying to use $Path inside my treecontrol. My code looks like the following:

<treecontrol class="tree-light" tree-model="vm.finalTreeData" on-selection="showSelected(node)" options="vm.treeOptions" filter-expression="vm.filter()" filter-comparator="vm.comparator" on-node-toggle="vm.showToggle(node, expanded, $parentNode, $index, $first, $middle, $last, $odd, $even, $path)">

I want to filter all nodes whos first dad is a String passed by parameter. The only way I have found is getting the path of the node a look if the passed string is in it? Anyone knows the way to achieve this?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant