Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: Tree background color

$
0
0

Hi Heutmekers, you can do that when you are binding the nodes. try something like that:

 

var oTreeNode = new sap.ui.commons.TreeNode({

    text: {

          path: "bind",

          formatter: function(value){

                                  if(value... /* Condition.. */){

                                        this.addStyleClass("class1");

                                    }...

                            }

          }

});


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>