Hi, Dev Team!
Where i can retrieve all list of possible icons for breadcrumb?
Thank you.
If I load my treeview, then apply .filter on the root dataSource, when I open my nodes, the sub-items are all displayed, they are not filtered.
But, it works if loadOnDemand = false.
You KNOW that bug, because in that sample, you specifically set the "loadOnDemand = false" option.
https://docs.telerik.com/kendo-ui/controls/navigation/treeview/how-to/filtering/filter-out-search-results
I was able to fix it by applying the "main" filter to my nodes dataSource (node.children), on the "expand" event.
But, I think you should fix it in your source code instead!
<
div
id
=
"AffectedCountries"
name
=
"AffectedCountries"
data-role
=
"grid"
data-bind
=
"source: dudu.AffectedCountries"
data-columns='[{"field": "Name", "title": "Name", "width": 180 },
{"field": "ValidFrom", "title": "Valid From", "width": 170},
{"field": "ValidFrom", "title": "Valid From", "width": 170},
{"command":"", "width": 50}]'
data-row-template
=
"list-country-group-row-template"
>
</
div
>
<
script
type
=
"text/x-kendo-template"
id
=
"list-country-group-row-template"
>
<
tr
role
=
"row"
class
=
"k-row"
data-bind
=
"attr: { idRow: IdForBinding }"
>
<
td
data-bind
=
"text: Name"
></
td
>
<
td
class
=
"with-required"
>
<
input
type
=
"date"
data-type
=
"date"
data-role
=
"datepicker"
class
=
"validFrom"
required
data-format
=
"yyyy-MM-dd"
data-bind
=
"value: ValidFrom, events: {change: validFromChanged}"
/>
<
span
class
=
"required"
>*</
span
>
</
td
>
<
td
>
<
input
type
=
"date"
data-type
=
"date"
data-role
=
"datepicker"
class
=
"validTo"
data-format
=
"yyyy-MM-dd"
data-bind
=
"value: ValidTo, events: {change: validToChanged}"
/>
</
td
>
<
td
class
=
"k-command-cell"
>
</
td
>
</
tr
>
</
script
>
I have a template with rows, each row with 2 dates, bound to an entity. Both dates have a kendoDatePicker.
I need to apply some constraints, like ValidTo value should have as min the value of ValidFrom.
And I would like to prevent the user from typing wrong values in the input field. Like "DateInput()" for ASP .NET Core or "dateInput: true" in Kendo.
Is there a way to do this? Since I could not fing any "data-*" attribute to use, and the fields do not have an Id, being bound to a viewModel.
Should I generate some kind of Id for each ValidFrom and ValidTo, for each row, and bind a $(id).kendoDatePicker()?
Hi,
How can i apply different autoHide duration for different types of notifications? A success message should auto hide after 5sec, but the rest must not autohide.
I looked at this thread, https://www.telerik.com/forums/different-closing-behaviour-for-notifications , but it does work completely. When the info window hides, it hides everything, not just the info window.
Please Advise,
Grant
var
calendar1=document.getElementById(
"div1"
).firstChild;
var
calendar2=document.getElementById(
"div2"
).firstChild;
$(
"#btn1"
).click(
function
(){
$(
"#div2"
).css(
"display"
,
"none"
).css(
"z-index"
,
"-1"
);
$(
"#div1"
).css(
"display"
,
"block"
).css(
"z-index"
,
"100"
);
$(calendar1).data(
"kendoScheduler"
).refresh();
});
$(
"#btn2"
).click(
function
(){
$(
"#div1"
).css(
"display"
,
"none"
).css(
"z-index"
,
"-1"
);
$(
"#div2"
).css(
"display"
,
"block"
).css(
"z-index"
,
"100"
);
$(calendar2).data(
"kendoScheduler"
).refresh();
});
I have a kendoComboBox that I have configured with Server filtering. (autocomplete like functionality)
When a certain action occurs, I want to have the combobox select an item that I supply in code. i.e. I want to set the text AND the selected value of the combobox, and then disable the combobox.
I know I can set the text with widget.text("something"). However, the value function also sets the text. (widget.value("1111");)
So my next attempt was to set the datasource of the combobox to the object, and then call widget.select(0).
widget.setDataSource(new kendo.data.DataSource({
data: [{
itemID: '1111',
name: 'Some Item'
}]
}));
widget.select(0);
widget.trigger("change");
widget.enable(false);
However, this doesn't seem to do anything. (except disable the widget) The dataSource is getting set, but underlying value and the text are not changing. Also, the dropdown is empty. (if I don't disable it)
dataTextField is set to "name", and dataValueField is set to "itemID".
Any help would be appreciated. Thanks.
Hi,
I recently encountered situation where web services used as CRUD methods for gantt widget to be very slow (6+ seconds TTFB per request). This has caused every action on the gantt widget to be slow, and widget looks as it hangs with spinning wheel. Basically, widget is unusable, specially when user moves tasks between groups where a few tasks need to be updated to adjust hierarchy.
Unfortunately, at the moment, I am forced to remain with this services as endpoints.
Do you have any suggestion how to approach this problem?
Only thing that came to my mind was to build local datasource and handle actions manually, but I am not sure that this is best approach.
Thank you in advance.
Best regards