},
{
"listeners" : {
- "|click" : "function()\n{\n var s = _this.grid.getSelectionModel().getSelectedCell();\n \n if (!s.length) {\n Roo.MessageBox.alert(\"Error\", \"Select a Row\");\n return;\n }\n if (!_this.dialog) return;\n _this.dialog.show(s[0].data, function() {\n _this.grid.footer.onClick('first');\n }); \n \n}\n"
+ "|click" : "function()\n{\n var s = _this.grid.getSelectionModel().getSelectedCell();\n \n if (!s.length) {\n Roo.MessageBox.alert(\"Error\", \"Select a Row\");\n return;\n }\n \n \n //_this.dialog.show(s[0].data, function() {\n // _this.grid.footer.onClick('first');\n //}); \n \n}\n"
},
"text" : "Merge Option",
"xtype" : "Button",
Roo.MessageBox.alert("Error", "Select a Row");
return;
}
- if (!_this.dialog) return;
- _this.dialog.show(s[0].data, function() {
- _this.grid.footer.onClick('first');
- });
+
+
+ //_this.dialog.show(s[0].data, function() {
+ // _this.grid.footer.onClick('first');
+ //});
}
}