TypeScript Definitions

4 posts, 1 answers
  1. mgs
    mgs avatar
    163 posts
    Member since:
    Jan 2011

    Posted 17 Mar 2013 Link to this post

    The TypeScript definitions for TreeView should be checked. Some seem to be wrong. For example...

    • The parameter's datatype of "collapse" is not string.
    • The parameter's datatype of "expand" is not string,
    • The return datatype of "dataItem" is not void.
    Michael G. Schneider
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 18 Mar 2013 Link to this post

    Hello Michael,

    Thank you for reporting these. We have fixed them in the attached typescript definitions.

    Regards,
    Alex Gyoshev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. mgs
    mgs avatar
    163 posts
    Member since:
    Jan 2011

    Posted 18 Mar 2013 Link to this post

    Hello Alex,

    thanks a lot for the file. I used it with my current development, and the following problems came up.
    • The method "Router.navigate" has an optional parameter "silent". It is missing in the definition.
    • In the definition file the method "Layout.render" is inherited from "View.render". There a parameter "container?: JQuery" is defined. However, the parameter can also be a selector.
    Probably other problems will be seen, if TypeScript is used more. I suggest you create a new Forum, for discussing TypeScript related questions. In this forum the definition file should be posted whenever needed. The file should not only be released with the default release cycle.

    Michael G. Schneider
  5. Answer
    Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 18 Mar 2013 Link to this post

    Hello Michael,

    The two problems will be addressed with the official release. We appreciate the feedback, and will consider your suggestion for a new forum.

    Greetings,
    Alex Gyoshev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready