diff options
author | mleibman <michael.leibman@gmail.com> | 2010-12-09 21:45:14 -0800 |
---|---|---|
committer | mleibman <michael.leibman@gmail.com> | 2010-12-09 22:11:05 -0800 |
commit | cc45b923a484f72e236fa3d527a2df331ab96d3c (patch) | |
tree | dcc83dbfd595bb889d1f1902dc28b0879e29544a /examples/example-header-row.html | |
parent | 5f88203f4b3c70eed7feaf31e65d71d95d2272c5 (diff) | |
download | SlickGrid-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.html | 4 |
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(); }); |