Cascading question - Can dataSource be replaced

1 posts, 0 answers
  1. Richard
    Richard avatar
    148 posts
    Member since:
    Feb 2012

    Posted 04 May 2012 Link to this post

    Suppose DDL1 has items A, B, C coming from query SELECT tablename as item from tablenames
    When DDL1 is changed I want DDL2 to get items from appropriate table using query SELECT item from {DDL1.value()}

    In the change handler for DDL1 the following does not work.

    DDL2.enable(true);
    DDL2.dataSource = new kendoDataSource (...);
Back to Top