click : function()
{
var ids = [];
-
- var sc = _this.egrid.getSelectionModel().getSelectedCell();
- console.log(sc);
+ _this.grid.dataSource.each(function(rr) {
+ if (rr.selected) {
+ ids.push(rr.data.id);
+ }
+ });
if (!ids.length) {
Roo.MessageBox.alert("Error", "Select rows by clicking on the Internal# column");
return;
listeners : {
click : function()
{
+
var s = _this.grid.getSelectionModel().getSelectedCell();
-
+
if (!s.length) {
Roo.MessageBox.alert("Error", "Select a Row");
return;
}
var d = _this.grid.ds.getAt(s[0]);
-
+ console.log(Pman.Dialog);
Pman.Dialog.AdminEnumMerge.show(d.data, function() {
_this.grid.footer.onClick('refresh');
});