File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,17 +45,17 @@ Expanding upon the examples above...
4545
4646``` js
4747grid .on (' .dgrid-content .dgrid-row:contextmenu' , function (event ) {
48- var row = grid .row (evt );
48+ var row = grid .row (event );
4949 // row.element == the element with the dgrid-row class
5050 // row.id == the identity of the item represented by the row
5151 // row.data == the item represented by the row
5252});
5353
5454grid .on (' .dgrid-header .dgrid-cell:click' , function (event ) {
55- var cell = grid .cell (evt );
55+ var cell = grid .cell (event );
5656 // cell.element == the element with the dgrid-cell class
5757 // cell.column == the column definition object for the column the cell is within
58- // cell.row == the same object obtained from grid.row(evt )
58+ // cell.row == the same object obtained from grid.row(event )
5959});
6060```
6161
@@ -74,4 +74,4 @@ Event name|Emitted by
7474` dgrid-editor-show ` |[ ` Editor ` ] ( ../components/mixins/Editor.md#events ) module before placing a shared editor
7575` dgrid-editor-hide ` |[ ` Editor ` ] ( ../components/mixins/Editor.md#events ) module before removing an ` editOn ` editor
7676` dgrid-select ` |[ ` Selection ` ] ( ../components/mixins/Selection.md#events ) module when one or more rows are selected
77- ` dgrid-deselect ` |[ ` Selection ` ] ( ../components/mixins/Selection.md#events ) module when one or more rows are deselected
77+ ` dgrid-deselect ` |[ ` Selection ` ] ( ../components/mixins/Selection.md#events ) module when one or more rows are deselected
You can’t perform that action at this time.
0 commit comments