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

Angular Kendo Diagram DataBound event never fires

2 Answers 191 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 31 Aug 2015, 05:01 PM

I've tried adding the dataBound event to a kendo diagram using k-options and also tried adding the event via the k-on-data-bound attribute but neither of these seem to work. Here is an example of where I would expect the dataBound event to fire but the console message is never printed.

 

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 02 Sep 2015, 11:32 AM
Hello Pat,

The event is currently triggered only in case the diagram is bound via shapes and connections dataSources and will not be triggered when using a HierarchicalDataSource. This will be changed in the next official release and the event will be triggered when using a HierarchicalDataSource as well.

Regards,
Daniel
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
صابر
Top achievements
Rank 1
answered on 28 May 2017, 06:43 AM

i'm also solve this issue in angular with dataBound :

my issue about kendo auto fit columns in databound

<kendo-grid id="grid" options="mainGridOptions"> </kendo-grid>

 

dataBound: function(){ var grid = $("#grid").data("kendoGrid"); for (var i = 0; i < grid.columns.length; i++) { grid.autoFitColumn(i); } }, dataSource: $scope.data,

Tags
Diagram
Asked by
Patrick
Top achievements
Rank 1
Answers by
Daniel
Telerik team
صابر
Top achievements
Rank 1
Share this question
or