Declined
Last Updated: 21 Oct 2021 09:55 by ADMIN
Dean
Created on: 15 Sep 2015 05:22
Category: Kendo UI for jQuery
Type: Feature Request
1
Add data-model attribute to the mobile ActionSheet
Currently the actions in an ActionSheet can only execute functions defined in the global space as stated in the documentation here: http://docs.telerik.com/kendo-ui/mobile/actionsheet#executing-actions

"The callback can be either a function, or a method of a JavaScript object in the global scope."

I want to be able to specify a data-model attribute so that the callback for my actions can be functions defined in a kendo observable (more specifically the kendo observable used by my view).

This functionality would be similar to how data-model attributes work with modal views.

As it is I don't want to be defining functions in the global scope - I consider it sloppy and messy. Does it not makes sense to use the scope of the containing view's model?
0 comments