:: Forum >>

Display data into new window

hi,
how can i display data into the grid where data’s are getting/coming from another window. For example i select a row and click a button called "Display" then new window will be open and the corresponding selected row values displayed in the new window.

regards
arun
arun
Monday, June 27, 2005
// Insert a form (name saisie) with names (C0 ...C4 in the example)

// At each selectionchanged the form is updated
var message = function(src){
var i=src.getSelectionProperty("index");
window.status = "Index = " + i;ligne=i;
document.saisie.C0.value=src.getDataProperty("text",i,0);
document.saisie.C1.value=src.getDataProperty("text",i,1);
document.saisie.C2.value=src.getDataProperty("text",i,2);
document.saisie.C3.value=src.getDataProperty("text",i,3);
document.saisie.C4.value=src.getDataProperty("text",i,4);
}

obj.setAction("selectionChanged", message);
Thierry
Monday, June 27, 2005

This topic is archived.


Back to support forum

Forum search