Cascading dropdown selection is not working.

4 posts, 0 answers
  1. developer
    developer avatar
    58 posts
    Member since:
    Nov 2015

    Posted 27 Jul Link to this post

    Currently I'm using Kendo UI 2015 Q1 SP1 in my project. The cascading function is working fine. 

    demo with 2015-Q1-SP1

    When I update with the latest version it is not working as expected. The 2nd dropdown is rendering only, the user select the first drop down.

    demo with latest version

    Note: I'll be having sorting operation in the controller, So I've to bind as "k-options". 

    Can you assist to fix this bug.

  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 29 Jul Link to this post

    Hello,

    The widgets will not initialize if some of the configuration options are undefined:

    http://docs.telerik.com/kendo-ui/AngularJS/Troubleshooting/common-issues#widgets-are-not-initialized

    Here is the modified demo, that works:

    http://dojo.telerik.com/ESudo/2

    Regards,
    Georgi Krustev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
  4. developer
    developer avatar
    58 posts
    Member since:
    Nov 2015

    Posted 29 Jul in reply to Georgi Krustev Link to this post

    Hello Georgi,

    Thank you for the response.

    In angular There is no use case like we need to initialize the defined attribute in scope or by default.

    you can refer the angular material control here 

    can you please explain the usage of this feature(initialize the options by default).

    Thanks!

     

  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 02 Aug Link to this post

    Hi,

    The AngularJS wrappers for Kendo UI are designed to wait until all specified attribute values are defined. If there is a field that is used as a configuration (customersDataSource in this case), then it should be defined. If it is not then the widget would not initialize. The modified demo that I shared, will work because customersDataSource is set to [] (empty array).

    The discussed requirement is described in the troubleshooting section that I mentioned in my previous reply.

    Regards,
    Georgi Krustev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready