listeners : {
click : function()
{
- var s = [];
- s.push(_this.grid.selModel.selection.record.id);
+ console.log(_this.grid);
+ var s = _this.grid.getSelectionModel().getSelections();
- if (s.length * 1 < 1) {
+ if (!s.length) {
Roo.MessageBox.alert("Error", "Select a Row");
return;
}
var d = _this.grid.ds.getAt(s[0]);
- console.log(d);
+
Pman.Dialog.AdminEnumMerge.show(d.data, function() {
_this.grid.footer.onClick('refresh');
});