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

python - RuntimeError: can't re-enter readline -

python - PyInstaller UAC not working in onefile mode -

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -