How to define grid aggregates using data attribute, with below, its always display "Total Count: 0"
<
script
id
=
"fooTemplate"
type
=
"text/x-kendo-template"
>
<
div
id
=
"foo_details"
>
<
div
data-role
=
"grid"
data-groupable
=
"true"
data-scrollable
=
"true"
data-pageable
=
"true"
data-reorderable
=
"true"
data-resizable
=
"true"
data-sortable
=
"true"
data-filterable
=
"true"
data-columnMenu
=
"true"
data-columns='[
{ "field": "caseNumber", "title": "Numer sprawy", "aggregates": ["count"], "footerTemplate": "Total Count: #=data.caseNumber? data.caseNumber.count: 0#" },
]'
data-bind
=
"source: details"
style
=
"height: 400px"
></
div
>
<
script
>
var viewModel = kendo.observable({
details: new kendo.data.DataSource({
transport: {
read: {
url: API_URL + 'foo',
dataType: "json",
},
},
aggregate: [
{field: "caseNumber", aggregate: "count"},
],
}),
})
kendo.bind($('\#foo_details'), viewModel)
</
script
>
</
div
>
</
script
>
I am designing a hierarchy of pages and components and I am trying to figure out what _attachBubbleHandlers is used for considering it basically does:
that._data.bind(ERROR, e => {
that.trigger(ERROR, e);
});
where that._data is an ObservableArray which never triggers the error event.
See https://github.com/telerik/kendo-ui-core/blob/master/src/kendo.data.js#L4856
Please clarify.
Hi
I try to change widget language follow the document TreeList / Localization ( https://demos.telerik.com/kendo-ui/treelist/localization ) .
Success in kendo.messages.en-US.min.js ,kendo.messages.zh-CN.min.js , kendo.messages.zh-TW.min.js ,
but kendo.messages.ja-JP.min.js doesn't work , it will show english not Japanese.
I check network package , server return kendo.messages.ja-JP.min.js content is correct
Also the document demo (TreeList / Localization ) have same issue in kendo.messages.ja-JP.min.js.
Did i miss something or kendo.messages.ja-JP.min.js something wrong.
Kendo UI version :2018.2.620
Thanks
Hello,
how can I modify the example Tooltip / Basic usage for a resizable image? On my mobile phone only the half of the image is shown. But when I make the image resizable, then the absolute positions if the tooltips don't match.
Is an example available?
Regards,
Peter
Is there a way to prevent the datasource from doing a read when I use the setDatasource Method? I have a case where I'm using the same datasource for multiple sheets, and each bind is causing a read.
I have recreated this problem in the kendo dojo... I do not understand why a function within my viewmodel is called 4 times when it is clearly only bound once. I see this in production and in the dojo, so it is clearly an issue with either they way I am configuring/binding/using mvvm or something within kendo.
See the dojo:
http://dojo.telerik.com/uhENaZAh/11
Thanks for any help or clarity,
J. Foulk
Good Morning to all of you!
So is there a resources that correlates when a feature first become available in a version of the Kendo UI control? For example, I want to use the selectedKeyNames method of the grid. Sadly we are not up-to-date on our versions, and while it might sound easy to upgrade to the latest, it is not. We have a much older app that is paired to an older version of jQuery and would require a lot of testing on combinations based on JavaScript Prerequisites.
What I would love to see is some sort of documentation on the API docs saying when a feature was first released.
I look forward to any responses.
Peace,
Keith
Hello,
I have a realtime chart with refresh every second. After the refresh the crosshair tooltip and zoom selection (with left mouse key) are gone. See http://dojo.telerik.com/uTEseYiz
I want to keep the croshair tooltip visible and the chart should be zoomable. Now the user must complete the zoom action before the next refresh occurs.
Regards,
Peter
I want to delete the controls(buttons like undo, redo, save,etc..) from the spreadsheet and want to add my own controls like textbox and some custom buttons. can some one suggest me how can I achieve this, I am using telerik for the first time.
Thank You.