Updating a datasource using Angular 1.5

2 posts, 0 answers
  1. Adam
    Adam avatar
    1 posts
    Member since:
    Dec 2015

    Posted 16 Dec 2016 Link to this post

    I am developing an angular 1.5 app and using the Kendo panelbar component.

    The panelbar does not support the angular ng-repeat directive and requires that the developer use a Kendo DataSource component to store the model data.

    Simply stated, I want to update the panelbar's underlying data model and expect the changes to be automatically rendered in the panelbar like a normal angular app.  

    When you update a datasource that is attached to a panelbar the change is not rendered when you just update the underlying datasource.  I then tried using the kendo.datasource insert method, but again I added data to the model (or datasource component) and it was not rendered.  I then tried to insert new data into my model and call the panelbar.expand(byId), the expand never opens the branch.  I've tried a number of other work arounds with only partial success.

    What I need is the proper way to dynamically update a panelbar's data model and see the new data rendered (preferably not using jQuery and is more angular-like, but anyway I can get this to work is fine).


    thanks in advance for your help....
  2. Peter Milchev
    Admin
    Peter Milchev avatar
    233 posts

    Posted 20 Dec 2016 Link to this post

    Hello Adam,

    We have replied in your support thread.

    To avoid any duplication, we would suggest you to continue the communication there and once we have a closure we could share the solution here for the community.

    Regards,
    Peter Milchev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top