This is a migrated thread and some comments may be shown as answers.

Fill windows using rails

1 Answer 78 Views
Window
This is a migrated thread and some comments may be shown as answers.
paulo larini
Top achievements
Rank 1
paulo larini asked on 16 Dec 2011, 12:52 PM
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.

1 Answer, 1 is accepted

Sort by
0
paulo larini
Top achievements
Rank 1
answered on 16 Dec 2011, 04:54 PM
I get this to work using the refresh method.
Thanks.

Tags
Window
Asked by
paulo larini
Top achievements
Rank 1
Answers by
paulo larini
Top achievements
Rank 1
Share this question
or