javascript - Kendo UI treelist and angular - how to determine if it's fully loaded? -


in html, have:

<kendo-treelist     k-auto-bind="true"     k-data-source="datasourceassignment"     k-columns="assignmentcols"    k-rebind="assignmentcols"> </kendo-treelist> 

in js file, connecting data source by:

$scope.datasourceassignment = new kendo.data.treelistdatasource({   transport: {      read: function (options) {          //code here      },      schema: {          model: {             id: "id",             fields: {                //fields here             },             expanded: true          }      } }); 

is there way determine if tree has loaded (i.e. 'no more hourglass spinning')?

i want call function stop 'loading....' ui then.

there appears ondatabound event. try adding attribute of tag.

<kendo-treelist     k-auto-bind="true"     k-data-source="datasourceassignment"     k-data-bound="databoundhandler"     k-columns="assignmentcols"    k-rebind="assignmentcols"> </kendo-treelist> 

see: http://demos.telerik.com/kendo-ui/treelist/events


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -