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
Post a Comment