I have hided the create button using following view,
<tree create="false" edit="false" >
It is working perfect, But I need to hide the create button dynamic way like this,
<tree attrs="{'create':[("uid",'=',1)]}" edit="false" >
But it is not working.