This is a migrated thread and some comments may be shown as answers.

Updating a datasource using Angular 1.5

1 Answer 23 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 16 Dec 2016, 07:17 PM
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....

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 20 Dec 2016, 03:53 PM
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.
Tags
PanelBar
Asked by
Adam
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or