May 17, 2012, 3:49 PM
[CLOSED] How to - Window
I have a window that I would like to pop up on one of my pages. The window's content will be another one of my site's pages, but the id portion of the URL needs to be set from a command button in a grid.
First, how do I set the javascript in my grid command button to use a value from my store - e.g. javascriptFuntion(IDvalueFromGridRow)
Second, how do I make the window's URL dynamic? I have followed the sample here:https://examples2.ext.net/#/Window/B...ernal_Website/ and in my javascript, I simply update the loader:
Finally, I want to be sure to "destroy" the window's reference to the URL once it closes so that it always comes up loading a new URL and not maintain the old content. What is the function/config for that?
First, how do I set the javascript in my grid command button to use a value from my store - e.g. javascriptFuntion(IDvalueFromGridRow)
Second, how do I make the window's URL dynamic? I have followed the sample here:https://examples2.ext.net/#/Window/B...ernal_Website/ and in my javascript, I simply update the loader:
function openCedentsWindow(val) {
App.CedentAssignment.loader.url += val.toString();
App.CedentAssignment.show();
}
but it didn't work. (Once I went back and hard set the value in the loader's URL property, it did.)Finally, I want to be sure to "destroy" the window's reference to the URL once it closes so that it always comes up loading a new URL and not maintain the old content. What is the function/config for that?
Last edited by Daniil; May 23, 2012 at 8:37 PM.
Reason: [CLOSED]