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 -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -