Telerik Forums
Kendo UI for jQuery Forum
1 answer
222 views
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>

Alex Hajigeorgieva
Telerik team
 answered on 11 Oct 2018
1 answer
100 views

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.

Ianko
Telerik team
 answered on 11 Oct 2018
1 answer
183 views

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

Tsvetina
Telerik team
 answered on 11 Oct 2018
3 answers
335 views

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

Veselin Tsvetanov
Telerik team
 answered on 11 Oct 2018
1 answer
285 views

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. 

 

Veselin Tsvetanov
Telerik team
 answered on 11 Oct 2018
1 answer
65 views

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

Ivan Danchev
Telerik team
 answered on 10 Oct 2018
3 answers
276 views

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

Georgi
Telerik team
 answered on 10 Oct 2018
1 answer
88 views
Hello,
              I have asp.net mvc project . we have done bundling for javascript scripts, is bundling possible for kendo mvvm templates too  enclosed in script tag, since they have different extension .tmpl.htm ?
Veselin Tsvetanov
Telerik team
 answered on 08 Oct 2018
4 answers
267 views

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

 

 

Tsvetina
Telerik team
 answered on 08 Oct 2018
5 answers
355 views

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.

Veselin Tsvetanov
Telerik team
 answered on 08 Oct 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?