Hello,
Is it possible to extend the base widget "kendo.ui.Widget" ?
I tried the following, but it doesn't work:
var
ExtendedWidget = kendo.ui.Widget.extend({
init:
function
(element, options) {
kendo.ui.Widget.fn.init.call(
this
, element, options);
if
(options.componentContainer !=
null
)
{
options.componentContainer.push(
this
);
}
},
options: {
name:
"Widget"
,
componentContainer: undefined
},
});
kendo.ui.plugin(ExtendedWidget);
Kind Regards,
Marco