I am a newbie. May be i am not clear in explaining what i need. I want to
assign a unique id to each of the nodes in tree.
Here is my <li> item. Can i add id="$$hashkey" directly in html?
One more question. I am using a third party filter (treeFilter) to
highlight the search text in tree nodes. Now I want a way to navigate
through the highlighted nodes.
Is there any way to know if the class changes to 'filtered-out' add the
element id to $scope.selectedItems
*<ol ui-tree-nodes ng-model="orgData._source.orgChartJSON ">*
* <li ng-repeat="node in orgData._source.orgChartJSON "
ui-tree-node ng- data-nodrag ng-include=" 'nodes_renderer.html' "
ng-class="{'filtered-out':!treeFilter(this,node, pattern.text,
supportedFields) && dim}"></li>*
* </ol>*
On Saturday, August 8, 2015 at 1:49:00 PM UTC+5:30, vadiraj bidarahalli
wrote:
>
> Hi,
>
> I am using angualar-ui-tree. I have a very td attribute id to the element
> here. I want to assign $$hashKey as the id, since its unique. But since it
> is within third party library, i don't feel its right to make changes
> there. How can i add id attribute? any way of extending the third party
> directive or controller?
>
> Regards
> Vadiraj
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.