Hi,I am using Rails as backend and I need to open a window that shows me the Index view from a model. I tried this:
$("#window").kendoWindow({
draggable: false,
resizable: false,
width: "500px",
height: "300px",
visible: false,
actions: ["Refresh", "Maximize", "Close"]
});
$("#listButton").click(function(){
var window = $("#window").data("kendoWindow");
window.title("List of cars");
content: "/cars";
window.center();
window.open();
});
But this does not works.
$("#window").kendoWindow({
draggable: false,
resizable: false,
width: "500px",
height: "300px",
visible: false,
actions: ["Refresh", "Maximize", "Close"]
});
$("#listButton").click(function(){
var window = $("#window").data("kendoWindow");
window.title("List of cars");
content: "/cars";
window.center();
window.open();
});
But this does not works.