javascript - How to hide header template based on condition? -


i new kendo ui. have created kendo-grid angularjs . , have configured header template grid.here code

headertemplate: '# if(hierarchyno!==1){# <i class="fa fa-arrow-circle-left fa-2x"  aria-hidden="true"></i> #}#', 

in here hierarchyno scope variable based on variable header template must shown user.if execute code there design error enter image description here not know went wrong. there way hide headertemplate based on condition. please me

use kendo.template("your template condition"). work out.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -