summaryrefslogtreecommitdiffstats
path: root/examples/example-header-row.html
diff options
context:
space:
mode:
authormleibman <michael.leibman@gmail.com>2010-12-09 21:45:14 -0800
committermleibman <michael.leibman@gmail.com>2010-12-09 22:11:05 -0800
commitcc45b923a484f72e236fa3d527a2df331ab96d3c (patch)
treedcc83dbfd595bb889d1f1902dc28b0879e29544a /examples/example-header-row.html
parent5f88203f4b3c70eed7feaf31e65d71d95d2272c5 (diff)
downloadSlickGrid-cc45b923a484f72e236fa3d527a2df331ab96d3c.zip
SlickGrid-cc45b923a484f72e236fa3d527a2df331ab96d3c.tar.gz
SlickGrid-cc45b923a484f72e236fa3d527a2df331ab96d3c.tar.bz2
Added a mechanism to set scope ("this") in events.
Grid and DataView now set the scope to the instance. Corrected args format in events in DataView.
Diffstat (limited to 'examples/example-header-row.html')
-rw-r--r--examples/example-header-row.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example-header-row.html b/examples/example-header-row.html
index bcba6d1..16d5cb2 100644
--- a/examples/example-header-row.html
+++ b/examples/example-header-row.html
@@ -105,8 +105,8 @@
grid.render();
});
- dataView.onRowsChanged.subscribe(function(e,rows) {
- grid.invalidateRows(rows);
+ dataView.onRowsChanged.subscribe(function(e,args) {
+ grid.invalidateRows(args.rows);
grid.render();
});