Opened 10 years ago

Closed 9 years ago

#15095 closed defect (patchwelcome)

dojox.grid._View assumes wrong firstChild

Reported by: marcules Owned by: Evan
Priority: undecided Milestone: tbd
Component: DojoX Grid Version: 1.7.1
Keywords: Cc:
Blocked By: Blocking:


Considering the following setup: You have to use PIE for rounded borders and linear-gradients in IE, and you set said rounded borders and linear-gradients on the th-elements of your grid, PIE will make custom <css3>-nodes to render those things.

In dojox.grid._View in the function renderHeader, it is assumed, that firstChild is the table-element of the grid header. But PIE injects custom <css3>-nodes, which make this asumption faulty.

You could fix this by correcting line 439's 'firstChild' with a 'getElementsByTagName('table')[0]'

Change History (2)

comment:1 Changed 9 years ago by bill

DojoX Grid and EnhancedGrid are deprecated in favor of dgrid and gridx.

You should upgrade your code to use one of those two grids.

We will consider patches to the old DojoX Grid code though.

comment:2 Changed 9 years ago by bill

Resolution: patchwelcome
Status: newclosed
Note: See TracTickets for help on using tickets.