.net - How can I find out when the treeview has finished loading? -


i have kendo treeview hierarchicaldatasource this.

treeviewdata = new kendo.data.hierarchicaldatasource({     transport: {         read: {             url: gettreedata,             cache: false,             datatype: "json"         }     },     schema: {         model: {             //to bind child items parent nodes             children: "items",             id: "nodeid"         },     } }); 

how can find out when treeview has finished loading?

thanks in advance.

you can put in kendotreeview configuration event "databound" fired when widget bound data data source.

$("#treeview").kendotreeview({   datasource: treeviewdata,   databound: function(e) {     //bound    } }); 

but hant jquery function?

somthing like:

 $("#treeview").find() 

hope help


Comments