0

I'm creating a numeric text box with data attributes for the initialization but it does not seem to be working, can someone help to explain why or is this just a Kendo UI bug please?

(documentation of how to use data attribute initialization)

demo of working example

demo of non-working example

4

1 に答える 1

0

data- 属性の使用と JavaScript 剣道ウィジェットの作成を混在させることはできないと思います。

すべてのオプションを設定して javascript を使用してオブジェクトを作成するか、data- 属性を使用してウィジェットとオプションを定義し、kendo.bind を使用してそれらを作成する必要があります。サンプルを参照してください。

http://dojo.telerik.com/OCAfA/3

于 2014-10-27T17:30:31.573 に答える