4 Answers, 1 is accepted
0
Hello,
Atanas Korchev
the Telerik team
Already supported. Check the second textbox in this demo: http://demos.kendoui.com/web/mvvm/elements.html
Regards,Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mathias
Top achievements
Rank 1
answered on 02 Apr 2012, 02:27 PM
OK, checked, thank you.
But :
- this feature is missing in documentation
- in your demo page, the row "text with update on keyup event" is missing in "View source code:" panel
- accordingly to your nice configuration philosophy of translation between options and data-* attributes, I should set the "data-value-update" parameter with a "valueUpdate" option in "data-bind" attribute, isn't-it? It doesn't work yet...
- please support additional events for this parameter; such as the "afterkeydown" of KnockoutJS; "keyup" doesn't handle my need
Regards, Mat
But :
- this feature is missing in documentation
- in your demo page, the row "text with update on keyup event" is missing in "View source code:" panel
- accordingly to your nice configuration philosophy of translation between options and data-* attributes, I should set the "data-value-update" parameter with a "valueUpdate" option in "data-bind" attribute, isn't-it? It doesn't work yet...
- please support additional events for this parameter; such as the "afterkeydown" of KnockoutJS; "keyup" doesn't handle my need
Regards, Mat
0
Hello,
You are right that the data-value-update attribute is not yet documented. We will update the documentation to include this setting. We will also update the examples.
Atanas Korchev
the Telerik team
You are right that the data-value-update attribute is not yet documented. We will update the documentation to include this setting. We will also update the examples.
The data-bind attribute is meant only for binding purposes. Any configuration settings are set via separate data attributes.
Implementing afterkeydown is possible however requires a setTimeout because the value is not updated when the keydown event is raised. We would really like not to include such code because it is very hard to test and is a potential performance hit.
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mathias
Top achievements
Rank 1
answered on 02 Apr 2012, 03:46 PM
"The data-bind attribute is meant only for binding purposes. Any configuration settings are set via separate data attributes."
Personally, binding configuration in "binding purposes" attribute hurts me less than the multiplication and overuse of data-* attributes we can expect with HTML5...
I really appreciate the performance requirement in your framework, Kendo UI is really an amazing product but your MVVM implementation is not enough mature yet; I think I must switch back to Knockout for now. I regret this, I prefer your "all observable" and clean get/set approach (the other reasons of this move, is the very elegant templating system of Knockout 2.0 and its community).
Mat
Personally, binding configuration in "binding purposes" attribute hurts me less than the multiplication and overuse of data-* attributes we can expect with HTML5...
I really appreciate the performance requirement in your framework, Kendo UI is really an amazing product but your MVVM implementation is not enough mature yet; I think I must switch back to Knockout for now. I regret this, I prefer your "all observable" and clean get/set approach (the other reasons of this move, is the very elegant templating system of Knockout 2.0 and its community).
Mat