Opened 11 years ago
Closed 8 years ago
#10044 closed defect (patchwelcome)
Cannot set DataGrid.onRowClick directly, have to connect
Reported by: | Shane O'Sullivan | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | DojoX Grid | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
If a data grid is created and the onRowClick function is set directly, it does not decorate the event fully, and the rowIndex is not available.
To get around this it is neccessary to programmatically connect to the onRowClick function. This makes it impossible to use syntax such as:
<div dojoType="dojox.grid.DataGrid?" onRowClick="myFunction" ....
It would be better if all event decoration was performed in a private function, which then calls the stub onRowClick and onCellClick functions.
Change History (5)
comment:1 Changed 11 years ago by
Milestone: | 1.4 → 1.5 |
---|---|
Owner: | changed from Nathan Toone to Bryan Forbes |
comment:2 Changed 11 years ago by
Milestone: | 1.5 → 1.6 |
---|
comment:3 Changed 10 years ago by
Milestone: | 1.6 → future |
---|
(sadly) punting seemingly abandoned ticket and meta tickets to future
comment:4 Changed 8 years ago by
comment:5 Changed 8 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
1.5 is released, moving remaining tickets to 1.6