kendo ui - kendoToolBar with display:none attribute doesn't wok on resize screen -


i have simple exmaple of kendo ui toolbar,

$("#toolbar").kendotoolbar({   items: [     {       type: "buttongroup",       attributes: {         style: "display:none",       },       buttons: [         { text: "foo" },         { text: "bar" },         { text: "baz" }       ]     }   ] }) 

as can see, when run part of code, toolbar dotn display nothing, because has attribute "display:none", if change screen size, minimaze,maximaze, or resize seems attribute leaves, , display everything.

is bug of telerik kendo?

try add '!important':

attributes: {         style: "display:none !important",       } 

Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -