TreeView dataSource change event e.action "itemLoaded"

1 Answer 49 Views
Data Source TreeView
Jay
Top achievements
Rank 2
Iron
Iron
Veteran
Jay asked on 28 Mar 2023, 04:01 PM

My dataSource change handler is getting an event with with e.action set to itemLoaded, which is not one of the defined values in the API documentation.

I am wondering if this is a valid event action that I can target and the documentation is not correct, or if this is something else like a bug.

Here is a dojo. If you run it and expand the item, in the browser console you will see a couple events, the last of which is the itemLoaded event.

1 Answer, 1 is accepted

Sort by
0
Georgi Denchev
Telerik team
answered on 31 Mar 2023, 08:26 AM

Hello, Jay,

The itemLoaded action is specific to the Hierarchical DataSource, that is why it is not included in the base DataSource configuration.

However, I can see that it is also missing in the change event of the HDS so I'll make a note that we should add it there as an additional parameter.

To answer your question fully, it is a valid value that can be used just like all the other action values.

Best Regards,
Georgi Denchev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Data Source TreeView
Asked by
Jay
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Georgi Denchev
Telerik team
Share this question
or