Hi,
My application has several Window objects sharing the same configuration settings. Is it possible to specify them somewhere and pass that on to kendoWindow when creating a window? Currently I have the following:
var win1 = $("#window1").kendoWindow({
height: "600px",
visible: false,
width: "900px",
modal: true,
open: onOpenW
}).data("kendoWindow");
var win2 = $("#window2").kendoWindow({
height: "600px",
visible: false,
width: "900px",
modal: true,
open: onOpenW
}).data("kendoWindow");
And I would like to have something like this (or whatever the syntax will be):
config = { height: "600px",
visible: false,
width: "900px",
modal: true,
open: onOpenW }
var win2 = $("#window2").kendoWindow({
config
}).data("kendoWindow");
Thanks!
My application has several Window objects sharing the same configuration settings. Is it possible to specify them somewhere and pass that on to kendoWindow when creating a window? Currently I have the following:
var win1 = $("#window1").kendoWindow({
height: "600px",
visible: false,
width: "900px",
modal: true,
open: onOpenW
}).data("kendoWindow");
var win2 = $("#window2").kendoWindow({
height: "600px",
visible: false,
width: "900px",
modal: true,
open: onOpenW
}).data("kendoWindow");
And I would like to have something like this (or whatever the syntax will be):
config = { height: "600px",
visible: false,
width: "900px",
modal: true,
open: onOpenW }
var win2 = $("#window2").kendoWindow({
config
}).data("kendoWindow");
Thanks!