Telerik Forums
Kendo UI for jQuery Forum
1 answer
17 views

Hi Team,

Please see below dojo.

MVVM changes since 2023 have broken our app in a lot of places, but we're left with very little docs about which parts are impacted.

Values init with 'null' stopped working since upgrade to 2023 (csp changes again?). Same changes work if the values are init with 'undefined' instead. Please check if we're doing something incorrectly.

https://dojo.telerik.com/umOmiMiN/2

Thanks

Martin
Telerik team
 answered on 02 May 2024
1 answer
28 views

You use it to bind to a viewModel:

viewModel.bind("change", function( event ){
    console.log("BIND:", event.field, "=", this.get(event.field));
});

this.get(event.field)
has the data just modified.

Is there a way to get the old data, before change?

Many thanks

Neli
Telerik team
 answered on 12 Mar 2024
1 answer
87 views

Ran into a bug with the latest version, traced it back to the first release of the year, 2023.1.117.

This dojo works, using 2022.3.1109.

This dojo does not work, using 2023.1.117 or later.

The not working example displays "undefined" whereas the working one displays "$100".

Nikolay
Telerik team
 answered on 24 Oct 2023
1 answer
31 views

This sample works till 2022 R3 SP1: https://dojo.telerik.com/EqaQuWAn

Some parts of our code has observable objects accessing functions using `get('functionName()')` format.

This no longer works since 2023 R1 and I cannot find any details about it in the change log. I don't know how to access docs for older versions either, but I do remember the docs suggesting this function access pattern.

Could you please help me find either the change log or older docs?

Martin
Telerik team
 answered on 31 Aug 2023
1 answer
34 views

Hi,

We're using a custom binding to set columns from the view model, but we're experiencing some trouble using nested columns and headerTemplate.

I set up a dojo example where you can see the problem. It will occur if you uncomment the headerAttributes that's commented out.

Anyone have any idea how to get this to work properly?

Dojo example: https://dojo.telerik.com/ApIGimiv/2

Georgi Denchev
Telerik team
 answered on 28 Aug 2023
1 answer
54 views

This example not works as expected:

https://dojo.telerik.com/ESAQEsip/2

It should only select: Red and Green.

Isn't it?

It's the same if I write the value of the input field by hand: value="Red"

Docs:

https://docs.telerik.com/kendo-ui/framework/mvvm/bindings/checked#binding-lists-of-checkboxes-to-arrays

Many thanks

Paolo
Top achievements
Rank 2
Iron
 answered on 25 Jul 2023
1 answer
61 views

I'm binding a span to a property on my model that ends up being populated with HTML e.g., "Word<br/>break". When it gets rendered, it is rendered just like that, so it displays the <br/> inline in the text with no effect. Is there a way to tell the binding to render it in raw form so it is displayed on two lines?

                <span id="rawSpan" data-bind="text:  rawTextDisplay"></span>

I was hoping to find some option like data-raw-text='true' but apparently my google-fu needs some work. Thanks.

Jay
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 02 Mar 2023
1 answer
53 views

Does anyone know how to correctly configure the PanelBar to work with AJAX content when instantiating via MVVM?

Dojo Example MVVM PanelBar with AJAX content

This code instantiates the PanelBar but does not load the AJAX content

  <div id="example">
    <ul 
        data-role="panelbar"
        data-content-urls="['https://demos.telerik.com/kendo-ui/content/web/panelbar/ajax/ajaxContent1.html']" >
      <li>MVVM Ajax Test
        <div></div>
      </li>
    </ul>
  </div>
  
  
  <script>
     kendo.bind($("#example"));
  </script>
  

Neli
Telerik team
 answered on 30 Jan 2023
1 answer
79 views

I have a kendo grid with server side paging and client side sorting. while clicking the sort in the grid, data fetch request(Request to fetch data from server) is getting triggered from frontend. but I'm using the client side sorting it shouldn't be the case. Is it possible to restrict it, without calling the server, Sort should be done in the frontend level. I hereby attach the my code sample images for your Reference. Anyone can point me to the right direction? Thanks.

Georgi Denchev
Telerik team
 answered on 21 Sep 2022
1 answer
49 views

hi

i need use MVVM  (dateHeaderTemplate) but can not show anything sample

thank you

Lyuboslav
Telerik team
 answered on 14 Jul 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?