Ticket #6758 (closed defect: fixed)
Grid can't select row in IE
| Reported by: | guest | Owned by: | BryanForbes |
|---|---|---|---|
| Priority: | high | Milestone: | 1.2 |
| Component: | DojoX Grid | Version: | 1.1.0 |
| Severity: | major | Keywords: | grid select row |
| Cc: | anthony.fryer@… |
Description
In IE, when trying to select a row, an "object doesn't support this property or method" exception is thrown. The stack trace is something like....
_Events.onCellClick
_FocusManager.setFocusCell
_FocusManager._focusifyCellNode(true)
dojo.toggleClass(n, this.focusClass, true)
dojo.addClass
The error is thrown when dojo.addClass tries to do
node.className = cls + (cls ? ' ': ) + classStr;
I'm not sure if this is a dojo core issue or a grid issue. It only started with the changed checked in last night ( 14/05/2008 ).
The defect can be duplicated by running test_grid_programmatic.html in the dojox/grid/tests directory in IE and attempting to select a row.