projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5901c3
)
Roo/grid/RowSelectionModel.js
author
Alan Knowles
<alan@roojs.com>
Fri, 23 Jul 2021 06:05:51 +0000
(14:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 23 Jul 2021 06:05:51 +0000
(14:05 +0800)
Roo/grid/RowSelectionModel.js
patch
|
blob
|
history
diff --git
a/Roo/grid/RowSelectionModel.js
b/Roo/grid/RowSelectionModel.js
index
cf2bd3d
..
8a715df
100644
(file)
--- a/
Roo/grid/RowSelectionModel.js
+++ b/
Roo/grid/RowSelectionModel.js
@@
-394,7
+394,8
@@
Roo.extend(Roo.grid.RowSelectionModel, Roo.grid.AbstractSelectionModel, {
this.selections.add(r);
this.last = this.lastActive = index;
if(!preventViewNotify){
- this.grid.getView().onRowSelect(index);
+ var view = this.grid.view ? this.grid.view : this.grid;
+ view.onRowSelect(index);
}
this.fireEvent("rowselect", this, index, r);
this.fireEvent("selectionchange", this);