Davi Baldin
21 Jul 2007, 10:15 AM
I need some light...
Like ext functions e whant create the above Object and run and show it on cellclick in grid data, passing parameters to render dynamic form...
But not work...
ParametersEditorDialog = function(){
var dialog;
var form;
return {
init : function() {
// do something...
},
createForm : function(param1,param2,param3) {
//create dinamic Ext.form here
},
showDialog : function(param1,param2,param3){
//create and show Ext.LayoutDialog
}
};
}();
//Listners here...
grid.addListener('cellclick',
function (grid, rowIndex, colIndex) {
if (colIndex == 2) {
//This alert run
//Ext.MessageBox.alert('Ooops..', 'alert message runs...');
//This code not work
ParametersEditorDialog.showDialog(param1,param2,param3);
}
}
);
where is the missing concepts and code ????....
allot thanks,
Davi
Like ext functions e whant create the above Object and run and show it on cellclick in grid data, passing parameters to render dynamic form...
But not work...
ParametersEditorDialog = function(){
var dialog;
var form;
return {
init : function() {
// do something...
},
createForm : function(param1,param2,param3) {
//create dinamic Ext.form here
},
showDialog : function(param1,param2,param3){
//create and show Ext.LayoutDialog
}
};
}();
//Listners here...
grid.addListener('cellclick',
function (grid, rowIndex, colIndex) {
if (colIndex == 2) {
//This alert run
//Ext.MessageBox.alert('Ooops..', 'alert message runs...');
//This code not work
ParametersEditorDialog.showDialog(param1,param2,param3);
}
}
);
where is the missing concepts and code ????....
allot thanks,
Davi