Instead of using the Toggle button I would rather use a switch for a better visual representation.
If i add a template item as such:
items.Add().Template("<
input
type
=
'checkbox'
id
=
'check'
>");
and then I try to modify the attribute of the item using jquery as such, it fails (no error, it simply doesn't work):
$("#check").attr("checked", "checked");
but if i move the html markup out of the template and put it somewhere else on the page, it works perfectly fine. This also happens when i try to use:
$("#check").kendoSwitch();
If i move the checkbox out of the toolbar it works fine.
Is there a way to use the switch, inside the toolbar?
Hi,
Is it possibly to configure a particular toolbar item which always stays visible? For example, I want the "Log out" button to be visible at all times on the right side of the toolbar.
Kind Regards,
Marco
$(
"#toolbar"
).kendoToolBar({
items: [
{ type:
"button"
, text:
"Prodaja"
, imageUrl:
"Image1.png"
},
{ type:
"button"
, text:
"Oddaja"
, imageUrl:
"Image2.png"
}
]
});
Hello, I have a Menu widget as a child of a Toolbar. I am disabling the menu using the following code:
myToolbar.enable(myMenu, false);
This correctly shows the menu widget as disabled (i.e. it's grayed out), but when I click the menu, it is still displaying the drop down menu under the button. Shouldn't calling enable with a value of false cause click events to be ignored? How can I accomplish this?
Thanks in advance
David
Hi,
a Toolbar Button without url is created as <a href="" ...
See http://dojo.telerik.com/aBiHumiR and inspect the button in toolbar1.
For the browser this is a link and the user can open the context menu for the links (open in new tab/windows, ...)
And in my css I have styles for links (i.e. a:any-link ) which will also apply to <a href="". For this I could exlude the button with a:any-link:not(.k-button).
But it would be better, that href="" is ommited if no url is defined. So I remove it in toolbar2 with
$("#toolbar2 a").removeAttr("href");
And this not work for the buttons in the overflow menu - make the run pane smaller in the dojo.
Is there an option in kendoToolBar / type="button" to omitt href="" ?
Peter
Hi ,
in a toolbar with 2 buttons at right side the toolbar has 2 rows:
Dojo and screenshot in Firefox 60.3.0esr (64bit).
In Firefox 63.0.3 it is ok: the toolbar has only one row like expected.
Is there a workaround for Firefox esr?
Peter
Hello,
if a splitbutton go on a small screen in overflow mode, the click event of the buttons are not fired.
Dojo: http://dojo.telerik.com/otopaWUL
Please decrease the width of the output window, so that the splitbutton goes in the overflow button.
How can I fix this?
Regards,
Peter
Hi
In the latest release 2018.1.221 the behaviour of disabled image only toolbar buttons seems to have changed? Previously they were grayed out and now they are not...
If I add text to the button this does get grayed out but not the image.
I have attached two .png files toolbar1.png showing previous behaviour and toolbar2.png showing current behaviour .....
Any suggestions on how to get the images to show as disabled?
Thanks
James
Hello,
Since Kendo UI 2018, the overflow button is over the last element in the toolbar with css (float:left or display:inline-block)
Here the dojo using Kendo UI 2018
https://dojo.telerik.com/UQAGeWeh
Here the same dojo using Kendo UI 2017 R3
https://dojo.telerik.com/UQAGeWeh/2
Hello,
I'm looking for a way to change the text of a toolbar button. I was hoping the following would work:
$("$myButton").text("My text");
Unfortunately, that also replaces the ImageUrl. Can you please tell me a supported way of changing the text?